Click here to Skip to main content
15,899,754 members
Home / Discussions / Database
   

Database

 
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 
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 
You need to generate some dynamic sql then. You can the update statements from master..sysdatabases

select 'update ' + name + '.dbo.table set ...' from master..sysdatabases
where name like '%user'


All you need to do then is put it in loop and execute it, or something similar - there are loads of ways from this point.

Bob
Ashfield Consultants Ltd

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 
AnswerRe: Date Between Problem Pin
Niraj_Silver26-Jun-08 1:10
Niraj_Silver26-Jun-08 1:10 
QuestionCan't read some cells in Excel [modified] Pin
gaby1192310-Jun-08 3:28
gaby1192310-Jun-08 3:28 

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.