Click here to Skip to main content
15,909,373 members
Home / Discussions / Database
   

Database

 
GeneralRe: Mixing Select Into and Appending Data Pin
prithaa11-Jun-08 5:49
prithaa11-Jun-08 5:49 
GeneralRe: Mixing Select Into and Appending Data Pin
prithaa11-Jun-08 6:37
prithaa11-Jun-08 6:37 
GeneralRe: Mixing Select Into and Appending Data Pin
prithaa11-Jun-08 7:19
prithaa11-Jun-08 7:19 
QuestionConnect to DB2 database Pin
Sankalp Verma11-Jun-08 0:47
Sankalp Verma11-Jun-08 0:47 
AnswerRe: Connect to DB2 database Pin
Vasudevan Deepak Kumar11-Jun-08 1:22
Vasudevan Deepak Kumar11-Jun-08 1:22 
QuestionConvert crystal report to text file Pin
Krazy Programmer10-Jun-08 21:29
Krazy Programmer10-Jun-08 21:29 
Questionupdate same table in 3 different databases Pin
Dushan12310-Jun-08 20:05
Dushan12310-Jun-08 20:05 
AnswerRe: update same table in 3 different databases Pin
Ashfield10-Jun-08 21:02
Ashfield10-Jun-08 21:02 
If its a one off:

begin tran

update database1.dbo.table set .....
update database2.dbo.table set .....
update database3.dbo.table set .....

commit tran


You need to put some error checks and rollback, but you get the idea. If its an ongoing requirement you ought to consider replication

Hope this helps

Bob
Ashfield Consultants Ltd

GeneralRe: update same table in 3 different databases Pin
Dushan12310-Jun-08 23:47
Dushan12310-Jun-08 23:47 
GeneralRe: update same table in 3 different databases Pin
Ashfield11-Jun-08 3:02
Ashfield11-Jun-08 3:02 
GeneralRe: update same table in 3 different databases Pin
Dushan12311-Jun-08 3:30
Dushan12311-Jun-08 3:30 
QuestionMixing Select into and Create Pin
prithaa10-Jun-08 20:03
prithaa10-Jun-08 20:03 
AnswerRe: Mixing Select into and Create Pin
Ashfield10-Jun-08 20:59
Ashfield10-Jun-08 20:59 
GeneralRe: Mixing Select into and Create Pin
prithaa10-Jun-08 21:52
prithaa10-Jun-08 21:52 
QuestionLocal ADO.NET Performance Issue Pin
I don't want a display name10-Jun-08 11:01
I don't want a display name10-Jun-08 11:01 
AnswerRe: Local ADO.NET Performance Issue Pin
Mycroft Holmes10-Jun-08 16:19
professionalMycroft Holmes10-Jun-08 16:19 
GeneralRe: Local ADO.NET Performance Issue Pin
I don't want a display name11-Jun-08 3:05
I don't want a display name11-Jun-08 3:05 
GeneralRe: Local ADO.NET Performance Issue Pin
Mycroft Holmes11-Jun-08 14:05
professionalMycroft Holmes11-Jun-08 14:05 
NewsSQL Server 2008 Release Candidate Available to Public Pin
brucedkyle10-Jun-08 6:00
brucedkyle10-Jun-08 6:00 
QuestionRecover Oracle Connection in a Windows Service. Pin
jamorey10-Jun-08 4:21
jamorey10-Jun-08 4:21 
AnswerRe: Recover Oracle Connection in a Windows Service. Pin
Mycroft Holmes10-Jun-08 16:26
professionalMycroft Holmes10-Jun-08 16:26 
QuestionDate Between Problem Pin
Babu.R.K10-Jun-08 3:48
Babu.R.K10-Jun-08 3:48 
AnswerRe: Date Between Problem Pin
Ashfield10-Jun-08 3:59
Ashfield10-Jun-08 3:59 
AnswerRe: Date Between Problem Pin
Kjetil Svendsen11-Jun-08 3:15
Kjetil Svendsen11-Jun-08 3:15 
GeneralRe: Date Between Problem Pin
Ashfield11-Jun-08 5:01
Ashfield11-Jun-08 5:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.