Click here to Skip to main content
15,917,968 members
Home / Discussions / Database
   

Database

 
GeneralImport Data Pin
cberam28-Jul-05 19:10
cberam28-Jul-05 19:10 
GeneralDate Format in the Database Pin
Anonymous28-Jul-05 19:09
Anonymous28-Jul-05 19:09 
GeneralComplex update Pin
Luis Alonso Ramos28-Jul-05 9:20
Luis Alonso Ramos28-Jul-05 9:20 
GeneralRe: Complex update Pin
Edbert P28-Jul-05 13:25
Edbert P28-Jul-05 13:25 
GeneralRe: Complex update Pin
Luis Alonso Ramos28-Jul-05 13:29
Luis Alonso Ramos28-Jul-05 13:29 
GeneralRe: Complex update Pin
Edbert P28-Jul-05 13:34
Edbert P28-Jul-05 13:34 
GeneralRe: Complex update Pin
Luis Alonso Ramos28-Jul-05 13:42
Luis Alonso Ramos28-Jul-05 13:42 
GeneralRe: Complex update Pin
Edbert P28-Jul-05 13:54
Edbert P28-Jul-05 13:54 
Yep.
The only limitation you need to remember is that UPDATE can only update 1 (one) table at a time (I'll be glad if somebody proves me wrong).
Therefore:

UPDATE <table1><br />
SET <specify table1 columns to update from values in all other tables specified below><br />
FROM <tables with JOIN and WHERE conditions>


Just for your information, do you know that you can also do
INSERT INTO (<columns>)<br />
(<br />
    SELECT <columns><br />
    FROM <tables><br />
)

GeneralRe: Complex update Pin
Luis Alonso Ramos28-Jul-05 14:03
Luis Alonso Ramos28-Jul-05 14:03 
QuestionHow to open a sql 2005 database in sql server 2005 Pin
playout28-Jul-05 1:26
playout28-Jul-05 1:26 
AnswerRe: How to open a sql 2005 database in sql server 2005 Pin
Not Active29-Jul-05 11:54
mentorNot Active29-Jul-05 11:54 
GeneralConnection string Pin
SeLoRBIS28-Jul-05 1:17
SeLoRBIS28-Jul-05 1:17 
GeneralRe: Connection string Pin
Marc Soleda28-Jul-05 5:54
Marc Soleda28-Jul-05 5:54 
GeneralRe: Connection string Pin
SeLoRBIS30-Jul-05 8:16
SeLoRBIS30-Jul-05 8:16 
GeneralRe: Connection string Pin
Marc Soleda31-Jul-05 21:00
Marc Soleda31-Jul-05 21:00 
GeneralRe: Connection string Pin
SeLoRBIS5-Aug-05 7:41
SeLoRBIS5-Aug-05 7:41 
GeneralRe: Connection string Pin
Marc Soleda7-Aug-05 20:18
Marc Soleda7-Aug-05 20:18 
GeneralUrgent !regarding sqlDataAdapter.Update Method Pin
Madni Abbasi28-Jul-05 0:31
Madni Abbasi28-Jul-05 0:31 
GeneralDB choice Pin
Marc Soleda27-Jul-05 22:33
Marc Soleda27-Jul-05 22:33 
GeneralRe: DB choice Pin
Hesham Amin29-Jul-05 2:47
Hesham Amin29-Jul-05 2:47 
GeneralSELECT Query in SQL Server 2000 Pin
Atul Kharecha27-Jul-05 21:41
Atul Kharecha27-Jul-05 21:41 
GeneralRe: SELECT Query in SQL Server 2000 Pin
maciekj28-Jul-05 3:19
maciekj28-Jul-05 3:19 
GeneralRe: SELECT Query in SQL Server 2000 Pin
Hesham Amin29-Jul-05 2:51
Hesham Amin29-Jul-05 2:51 
GeneralProblem with dataview Pin
Chetan Ranpariya27-Jul-05 19:33
Chetan Ranpariya27-Jul-05 19:33 
Generalado problem Pin
ting66827-Jul-05 18:20
ting66827-Jul-05 18:20 

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.