Save Register That WERE Insert
Oct 17, 2000
Hi
I have 2 Database ( INFORMIX AND SQL-SERVER), When the INFORMIX fall only work SQL SERVER, but when INFORMIX go back, I want to insert in the INFORMIX only register that were inserting in the SQL SERVER while the INFORMIX was out. For it I want DTS for export register, How I can get only this registers ?
thank you in advance
View 2 Replies
ADVERTISEMENT
Aug 18, 2007
I have a Product Table.
And now I have to create its Stored Procedures.
I am asking the best practice regarding the methods Insert And Update.
There are two options.
1. Create separate 2 procedures like InsertProduct and UpdateProduct.
2. Create just 1 procedure like ModifyProduct. In which programmatically check that either the record is present or not. If present then update and if not then insert. Just like Imar has done in his article http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=419
Can any one explain the better one.
Waiting for helpful replies.
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=419
a
View 3 Replies
View Related
Feb 9, 2007
Hi,
My scenario:
I have a master securities table which has 7 fields. As a part of the daily process I am uploading flat files into database tables. The flat files contains the master(static) security data as well as the analytics(transaction) data. I need to
1) separate the master (static) data from the flat files,
2) check whether that data is present in the master table, if not then insert that data into the master table
3) If data present then move that existing record to an history table and then update the main master table.
All the 7 fields need to be checked to uniquely identify a single record in the master table.
How can this be done? Whether we can us a combination of data flow items or write a sql procedure to do all this.
Thanks in advance for your help.
Regards,
$wapnil
View 4 Replies
View Related
Feb 11, 2006
Hello:I didn't find any documentation that notes save point names are casesensitive, but I guess they are...Stored Proc to reproduce:/* START CODE SNIPPET */If Exists (Select * From sysobjects Where Type = 'P' and Name ='TestSaveTran')Drop Procedure dbo.TestSaveTranGoCreate Procedure dbo.TestSaveTranAsBeginDeclare@tranCount int--Transaction HandlingSelect @tranCount = @@TRANCOUNTIf (@tranCount=0)Begin Tran localtranElseSave Tran localtranBegin Try--Simulate Error While ProcessingRAISERROR('Something bad happened', 16, 1)/*If this proc started transaction then commit it,otherwise return and let caller handle transaction*/IF (@tranCount=0)Commit Tran localtranEnd TryBegin Catch--Rollback to save pointRollback Tran LOCALTRAN --<< NOTE case change--Log Error--Reraise ErrorEnd CatchEndGo--Execute Stored ProcExec dbo.TestSaveTran/*Should receive the following message:Cannot roll back LOCALTRAN. No transaction or savepoint of that namewas found.*//* END CODE SNIPPET */What is really strange, if there is a transaction open, then no erroris thrown. So if you execute as so:/* START CODE SNIPPET */Begin Tran--Execute Stored ProcExec dbo.TestSaveTran/* END CODE SNIPPET */There is no "Cannot roll back LOCALTRAN...." message.Questions:1-)Can someone confirm save point names are case sensitve and this isnot happening because of a server setting?2-)Is this a logic error that I am not seeing in the example codeabove?We have changed our code to store the save point name in a variable,which will hopefully mitigate this "problem".Thx.
View 4 Replies
View Related
Jun 26, 2007
I am new to sql sever management studio express, but a long time query analyzer user. This is a very basic question.
I want to change the default directory in sql server management studio express so that when I go to save a query, it is already pointed to the correct one. Where do I change that?
Thanks,
Nanci
View 2 Replies
View Related
Jul 18, 2000
Hi all,
I am tring to register a SQL Server 6.5 to EM on a Win95 machine which has Admin tools only.I have tried to change the Client Configuration for
both SQL Server and Windows 95 ,i have TCP/IP and Named Pipes,but its saying server cannot be found can any one pl help me of what i should do...???
Thanks
View 2 Replies
View Related
Dec 8, 2007
I was advised to use a table in addition to the standard aspnet_ tables for keeping extra data and to register it with the rest of the database. However, when I tried to register it, I couldn't even see a database to choose from then received an error. All the tables, including the ones I created, work when I run my VSE 2005 project. If someone can give me some A-B-C guidance, I'd appreciate it.
View 3 Replies
View Related
Mar 2, 2004
Hi,
Iam learning asp.net myself .
I've installed SQL Server7.0 in my PC.
How will I register a server
for example: localhost using enterprise manager.
I keep getting error message:
Specified SQL Server not found
Please help with registering a server.
Thanks
Abi.
View 1 Replies
View Related
Mar 23, 2000
1)I AM NOT ABLE TO REGISTER MY SERVER (S1) WITH ANOTHER SERVER (S2),
BUT AT THE SAME TIME I AM ABLE TO REGISTER SERVER (S2) FROM MY ENTER PRISE MNAGER.
WHAT COULD BE THE PROBLEM?
IF ANY KNOW PLEASE SUGGEST
THANKS
View 3 Replies
View Related
Jan 30, 2001
Hi,
I am trying to register one server and I get the following message -
"Client unable to establish connection Connection OpenCreatefile()"
Any advice highly appreciated.
Thanks
PD
View 1 Replies
View Related
Sep 22, 2000
Hi
When I distrubuided my application In VB, the dll from DTS PACKAGE , slq server, Do not are registred, why ?
I have register each with regsvr32
thank you in advance
View 2 Replies
View Related
Jul 8, 1999
When converting from 6.5 to 7 the Servers I had registered under 6.5 were still available. When I try to connect to them the old 6.5 Enterprise Manager starts up and I really like this ability.
I would like to register a new 6.5 Server while running 7.0
I'm developing on 7.0 and thus would like to keep my machine running 7, but need to add 6.5 servers on occasion. Any suggestions.
(I think if I switch to 6.5 and register that will work, but don't want to switch)
View 2 Replies
View Related
Aug 7, 1999
I loaded a microsoft SQL server training CD. When i go to enterprise manager i am prompted for a server. I checked the online books and it says that i should use the compter name. This does not work. My dialog box that i am using to enter the computer name, logon ID, and password is titled connect server. The documented information has Register server for the title of the dialog box. Is there a difference? What am i doing wrong? I am not able to connect the server at all. This is a training disk and is only good for 120 days. I am running out of time and i have not even started.
Any help would be greatly appreciated.
View 2 Replies
View Related
Jul 14, 1998
Really would like some help from anyone who has experienced this problem.
I installed SQL server v6.5 on my machine. I selected communication options TCP/IP and Named Pipes and took all the other defaults. After receiving the `installed ok` message, I went on to register the server and received the following msg.
A connection cannot be established to A0194876 [DB Library] Unable to
connect. SQL server is unavailable or does not exist.
My machine name is, A0194876. I have tried changing the machine name, rebooting, etc. but nothing works.
View 5 Replies
View Related
Feb 26, 1999
Hello,
We are facing problems in registering server in MS-SQL Server 6.5.
We are getting CODE EXCEPTION error. We tried unistalling SQL Server
and Re-Installing again. In spite of this, it is still giving the same error.
We happen to change the HOST name of the NT Server m/c on which
the SQL Server resides once.
What could have possibly gone wrong. Any help would be greatly appreciated.
Thanks.
View 2 Replies
View Related
Apr 17, 2001
Howdy,
I installed SQL Server 2000 (Standard Edition) on my desktop running Win2K Pro. During installation, a message indicated that only the client tools could be installed on this version (I assume it was referring to Win2K Pro). No errors were encountered during installation.
Now, I am trying to figure out how to get started working with SQL Server 2000. I opened the Enterprise Manager and have tried to register a SQL Server using the wizard to register a SQL Server. I then selected my computer name under the available servers list and then chose Windows Authentication to connect. On the next wizard screen I then chose to add the SQL Server to the default group name (SQL Server Group). After clicking on the Finish button, the Status block on the last screen indicates "SQL Server does not exist or access denied."
Any idea what's happening? What am I doing wrong?
TIA.
View 2 Replies
View Related
May 22, 2006
Hi there , hope someone out there can shed some light into this subject , myself im running up the wall with it.
I have several pc's all running SQL Server 2000 all connected to the main office through a VPN.
We are trying to have merge replication working with our Business Aplication and all the sites on the VPN.
While trying to register the remote databases on the Main office server , some of the pc's worked like a charm everything is smooth as silk, but now the problem......
Out of 14 total machines , on 3 of them i have this problem.
In 2 of them i can open a ODBC connection to the SQL Server wich works , with Query Analyser i can connect to the servers and query all the DB in them.IF i try to register them in Enterprise Manager i get an Access Denied/Server does not exist message ( Using Alias ) , if i go through IP it registers but the merge replication does not work so im stuck with the Alias????Any clue?(1 of the pc's uses XP Pro the other XP Home)
On the other pc i cant simply do anything , nothing will work , no odbc,no query analyser no enterprise manager no nothing.
Why????I can see the pc's on the VPN , if i do a \IP i can access them so the VPN is working.
Thanks in advance for any help
View 1 Replies
View Related
Feb 23, 2004
Hi all,
I'm having difficulty with registering a new SQL server across
a network. I'm guessing it's something to do with the authentication method, but as of yet I can't get it to work.
I recieve the message
"Login failed for user 'computername/Guest' "
Curiously, doing things the other way round (registering this server on the other one across the network) works absolutely fine, and as far as I can tell I have them set up exactly the same.
Any help would be very much appreciated!
Ben
View 3 Replies
View Related
May 17, 2002
Hi all,
Can someone tell me if it is possible to register and connect to a SQL server that is not on my local network? I want to be able to use the Enterprise Manager to make updates to the SQL servers in my office from home. I am using SQL 7.0
Thanks in advance,
Chris
View 1 Replies
View Related
Apr 6, 2001
Does any body know if it is possible to register SQL 2000 server from SQL v7.0 enterprise manager.
Thanks
View 5 Replies
View Related
Jul 25, 2000
I have one 6.5 server left that I admin, can I register it in my client copy of 7.0 enterprise manager or do I have to install the 6.5 client on my machine to register the 6.5 servers?
Thanks..
View 1 Replies
View Related
May 6, 2005
I want register a server it is on other PC is a server, BUT IT SHOW TO ME A MESSAGE OF ERROR:
Errors ocurred while connecting to ----ip-----
Cannot open connection to Analysis server ----ip-----
Can not connect a server ----ip-----. not this in operation or this occupied
Do you still Want to register this server
View 2 Replies
View Related
May 3, 2004
Got error message when trying to register sql server:
NYCPI - SQL Server does not exist or access denied. ConnectionOpen(connect()
where NYCPI is my remote server name which has sql server in it.
When the registration wizard display a list of available servers, NYCPI appear twice in the available server list. But this problem is not exist in another machine. I tried register this sql server from another server and it is working in the second machine.
Any ideas?
Thanks!
View 2 Replies
View Related
Jun 2, 2006
hi,i have a programmer problem. When i exec a update sql with odbcdrivers, in database i dont update register, but if i exec the executesql in manager, then i update the register. Someone knwos what ishappening?thanks for answer.
View 1 Replies
View Related
Oct 12, 2005
I've done a lot of digging, and I can't find the solution to this one. I followed Vineet's instructions to get an assembly registered that can call out to Web services; however, when I try to register, I get the following error:
View 5 Replies
View Related
Sep 28, 2007
Hi All
Can any one help me out?
I have Created one SSIS package.
When I am trying to register Package in to Job I am Unable to find Option Under Steps. Which Option I have to select for registring a Package into Job.
Here, I describe the options which is comming under my SQL Job-Steps.
1. ActiveX Script
2. Operating System(CmdExec)
3. Replecation Distributor
4. Replecation Merge
5. Replecation Queue Reader
6. Replecation Snapshot
7. Replecation Transaction Log Reader
8. Transact-SQL script (T-SQL)
I have Installed SQL 2005 then I have installed Service Pack2 for SQL2005. then I tried to install tools for SQL2005 but it was unable to installed.
Is there any extra patch needs to be install for that option?
Please Provide me Quick Help.
Thanks in Advance.
View 5 Replies
View Related
Apr 10, 2006
I've run into this a second time now. I'm hoping for some resolution AND guidance for proper build, save, etc. protocols in BIDS.
I've coded a custom component, included post-build procedures to add it to the GAC, selected it from the "Choose Items..." menu, and successfully added to a data flow. I've then been able to succesfully debug it.
This was all Friday afternoon. I shut down my BIDS session(s) and called it a week. This morning when I open BIDS, I get the following error when I attempt to add it to a data flow task:
TITLE: Microsoft Visual Studio------------------------------The component could not be added to the Data Flow task.Could not initialize the component. There is a potential problem in the ProvideComponentProperties method.------------------------------ADDITIONAL INFORMATION:Error at Data Flow Task [DTS.Pipeline]: Component "component "" (16)" could not be created and returned error code 0x80131600. Make sure that the component is registered correctly.------------------------------Exception from HRESULT: 0xC0048021 (Microsoft.SqlServer.DTSPipelineWrap)------------------------------BUTTONS:OK------------------------------
What would explain this? I'm new to VS/BIDS. Am I improperly shutting down my BIDS sessions? Is a save required for my code? Does "Build <component>" not automatically save?
Also, when I re-build a component after making a change to it, what do I need to do in my package's Data Flow task? Delete the current component, re-add it, and configure it again? I'm sure there are certain things that require one type of re-initialization vs. others (i.e., making a change to the Design Time code vs. making a change to code within the ProcessInput method.)
What can I do to properly register this now? I'm dead in the water and have no idea what to do. Any help's appreciated.
View 7 Replies
View Related
Jul 18, 2007
Hi, here is my problem
I am trying to conncet to an SQL Server that is on the net. The name of the server looks like : sqlServer.TheCompanyOwingIt.Com and it listens to port 2433
I am opening enterprise manager and trying to connect ,giving the name of the server and the credentials but no luck. I also tried opening hte client Network utility , created an alias for that server, specifying 2433 as the port but no luck again. Finally i tried to change the port of my sql server to be 2433 (instead of 1433), no luck again !!! Any ideas ? (there is no firewall running on the PC, but there is a router which might (?) cause the problem ? (i tried to port forward 2433 , but i am not sure if i did it correctly).
Any ideas, suggestions will be greatly appreciated
Thx in advance
Theodore
View 5 Replies
View Related
Feb 11, 2008
Hello,
I have installed the eval version of sql 2005 and have also purchased a license for developer edition. How do I register my eval copy to be the developer edition? Is there a special download for developer edition?
Thank you
Leo
View 12 Replies
View Related
Jan 30, 2007
How I can register a trial version SQL Server 2005?
View 1 Replies
View Related
Feb 27, 2004
I am currently trying to connect to a SQL Server instance with my host provider. I am having issues trying to connect to it.
I am using a Linkysys router and I have opened up the ports that SQL Server needs but I am getting an error - "SQL Server does not exist or Access denied". I've contacted the support but they are telling me it is an error on my end.
Has anyone experienced this issue before?
Thanks in advance for the help.
View 5 Replies
View Related
Sep 19, 2001
Hi friends,
How to register SQL SERVER in EM using IP Adderess.
TIA
Raj
View 1 Replies
View Related
Dec 19, 1998
I have installed SQL6.5 on my NT4.0 server.
I go into the enterprise manager. There are currently no registered servers. I try to add a server under the SQL 6.5 group and get the following message:
"Unable to connect to Server(reason [SQL Server Login failed]. Register Anyway?"
The service is running. I can login through the command prompt, but when I type select @@servername it comes back as NULL.
I have tried both my NT SA account as well as the SQLExecutiveCmdExec account. TIA - pwb
View 1 Replies
View Related