Click here to Skip to main content
15,925,113 members
Home / Discussions / Database
   

Database

 
QuestionBest Aproach When Working with Crystal Reports .Net? Pin
korso_rogan28-Jul-05 21:34
korso_rogan28-Jul-05 21:34 
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 
Cool!! Cool | :cool:

I tweaked it a bit, and it worked!

I didn't know updates with joins existed. But now I'll have a new trick!! I know cursors are not efficient, but this is a once in a lifetime update.

So, basically it's UPDATE table_to_update SET column = new_value FROM table_to_update like in a SELECT? This query should UPDATE all rows in the table. And if I add an INNER JOIN there, then the UPDATE will only work on the rows that would result from the same SELECT FROM statement?

Thanks!! Smile | :)

-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!

GeneralRe: Complex update Pin
Edbert P28-Jul-05 13:54
Edbert P28-Jul-05 13:54 
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 

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.