Click here to Skip to main content
15,916,371 members
Home / Discussions / Database
   

Database

 
GeneralRe: How do I update records in one table with values supplied by another. Pin
GuyThiebaut22-Feb-08 2:51
professionalGuyThiebaut22-Feb-08 2:51 
You would have the issue of duplicated records if you ran the query this way.
Instead of insert you would have to use update and this requires column names to be specified.
This is because insert does not replace records it appends records.

Although SQL is a declarative language you still need to do a lot of work in writing the queries Frown | :(

Microsoft are apparently developing new declarative languages so in the future things may be easier...

Regards

Guy

You always pass failure on the way to success.


GeneralGet Monday Function Pin
Lash2020-Feb-08 4:56
Lash2020-Feb-08 4:56 
AnswerRe: Get Monday Function Pin
Lash2020-Feb-08 6:24
Lash2020-Feb-08 6:24 
GeneralRe: Get Monday Function Pin
Steven J Jowett20-Feb-08 6:32
Steven J Jowett20-Feb-08 6:32 
Generalhi Pin
mon***z20-Feb-08 2:12
mon***z20-Feb-08 2:12 
GeneralRe: hi Pin
Steven J Jowett20-Feb-08 4:41
Steven J Jowett20-Feb-08 4:41 
GeneralRe: hi Pin
Sandeep Kumar21-Feb-08 3:40
Sandeep Kumar21-Feb-08 3:40 
GeneralRe: hi Pin
Karrar Ketawi21-Feb-08 22:57
Karrar Ketawi21-Feb-08 22:57 
GeneralHelp with WHERE clause please. [modified] Pin
Steven J Jowett19-Feb-08 23:37
Steven J Jowett19-Feb-08 23:37 
GeneralRe: Help with WHERE clause please. Pin
Krish - KP19-Feb-08 23:56
Krish - KP19-Feb-08 23:56 
GeneralRe: Help with WHERE clause please. Pin
Krish - KP20-Feb-08 0:01
Krish - KP20-Feb-08 0:01 
GeneralRe: Help with WHERE clause please. Pin
Steven J Jowett20-Feb-08 0:28
Steven J Jowett20-Feb-08 0:28 
GeneralRe: Help with WHERE clause please. Pin
Steven J Jowett20-Feb-08 0:43
Steven J Jowett20-Feb-08 0:43 
GeneralBest method for keeping website visitor count in database Pin
N a v a n e e t h19-Feb-08 23:00
N a v a n e e t h19-Feb-08 23:00 
GeneralRe: Best method for keeping website visitor count in database Pin
Hesham Amin20-Feb-08 21:08
Hesham Amin20-Feb-08 21:08 
GeneralRe: Best method for keeping website visitor count in database Pin
N a v a n e e t h20-Feb-08 23:27
N a v a n e e t h20-Feb-08 23:27 
GeneralRe: Best method for keeping website visitor count in database Pin
Sandeep Kumar21-Feb-08 3:56
Sandeep Kumar21-Feb-08 3:56 
GeneralRe: Best method for keeping website visitor count in database Pin
Hesham Amin21-Feb-08 9:32
Hesham Amin21-Feb-08 9:32 
GeneralProblem with top clause Pin
kimo code19-Feb-08 22:43
kimo code19-Feb-08 22:43 
GeneralRe: Problem with top clause Pin
Giorgi Dalakishvili19-Feb-08 23:30
mentorGiorgi Dalakishvili19-Feb-08 23:30 
GeneralRe: Problem with top clause Pin
N a v a n e e t h19-Feb-08 23:32
N a v a n e e t h19-Feb-08 23:32 
GeneralRe: Problem with top clause Pin
kimo code20-Feb-08 0:15
kimo code20-Feb-08 0:15 
GeneralRe: Problem with top clause Pin
Ashfield20-Feb-08 1:52
Ashfield20-Feb-08 1:52 
GeneralRe: Problem with top clause Pin
WoutL21-Feb-08 1:54
WoutL21-Feb-08 1:54 
GeneralRe: Problem with top clause Pin
kimo code21-Feb-08 2:19
kimo code21-Feb-08 2:19 

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.