Click here to Skip to main content
15,902,445 members
Home / Discussions / Database
   

Database

 
AnswerRe: Report of the SQL Server Agent, job scheduler Pin
fjdiewornncalwe19-Oct-12 9:07
professionalfjdiewornncalwe19-Oct-12 9:07 
QuestionCopy a tables to another database (Flashdisk) Pin
Richard.Berry10018-Oct-12 11:50
Richard.Berry10018-Oct-12 11:50 
AnswerRe: Copy a tables to another database (Flashdisk) Pin
R. Giskard Reventlov18-Oct-12 12:22
R. Giskard Reventlov18-Oct-12 12:22 
GeneralRe: Copy a tables to another database (Flashdisk) Pin
Richard.Berry10018-Oct-12 12:40
Richard.Berry10018-Oct-12 12:40 
GeneralRe: Copy a tables to another database (Flashdisk) Pin
R. Giskard Reventlov18-Oct-12 13:14
R. Giskard Reventlov18-Oct-12 13:14 
GeneralRe: Copy a tables to another database (Flashdisk) Pin
Richard.Berry10018-Oct-12 14:10
Richard.Berry10018-Oct-12 14:10 
AnswerCreate small db, then use backup PinPopular
David Mujica19-Oct-12 6:21
David Mujica19-Oct-12 6:21 
GeneralRe: Create small db, then use backup Pin
fjdiewornncalwe19-Oct-12 6:43
professionalfjdiewornncalwe19-Oct-12 6:43 
GeneralRe: Create small db, then use backup Pin
Richard.Berry10025-Oct-12 5:55
Richard.Berry10025-Oct-12 5:55 
Question10g to 11g migration. Pin
vanikanc17-Oct-12 7:44
vanikanc17-Oct-12 7:44 
AnswerRe: 10g to 11g migration. Pin
Eddy Vluggen17-Oct-12 9:31
professionalEddy Vluggen17-Oct-12 9:31 
QuestionHow to access window ? Pin
nghia09t317-Oct-12 5:27
nghia09t317-Oct-12 5:27 
AnswerRe: How to access window ? Pin
Eddy Vluggen17-Oct-12 9:32
professionalEddy Vluggen17-Oct-12 9:32 
GeneralRe: How to access window ? Pin
nghia09t317-Oct-12 12:47
nghia09t317-Oct-12 12:47 
AnswerRe: How to access window ? Pin
Richard Andrew x6417-Oct-12 14:06
professionalRichard Andrew x6417-Oct-12 14:06 
GeneralRe: How to access window ? Pin
nghia09t317-Oct-12 14:29
nghia09t317-Oct-12 14:29 
QuestionDatabase to C++ Pin
shiftwik16-Oct-12 16:21
shiftwik16-Oct-12 16:21 
AnswerRe: Database to C++ Pin
Jochen Arndt16-Oct-12 21:21
professionalJochen Arndt16-Oct-12 21:21 
Questionsubquery using 1 table Pin
john john mackey16-Oct-12 7:26
john john mackey16-Oct-12 7:26 
AnswerRe: subquery using 1 table Pin
fjdiewornncalwe16-Oct-12 8:01
professionalfjdiewornncalwe16-Oct-12 8:01 
GeneralRe: subquery using 1 table Pin
john john mackey16-Oct-12 9:50
john john mackey16-Oct-12 9:50 
AnswerRe: subquery using 1 table Pin
Michael Potter16-Oct-12 10:38
Michael Potter16-Oct-12 10:38 
I have to agree with Marcus. The correlated subquery is redundant. I can't imagine any structure and/or data that would make this subquery useful.

tb2.CustomerID = tb1.CustomerID will always return both columns from the same row. If CustomerID is duplicated within the table, then it will throw an error.

It also seems strange that AccountName is not dependant upon AccountId as thier names imply. Are you sure your structure is designed correctly?
AnswerRe: subquery using 1 table Pin
AspDotNetDev16-Oct-12 11:25
protectorAspDotNetDev16-Oct-12 11:25 
AnswerRe: subquery using 1 table Pin
Aadhar Joshi16-Oct-12 20:28
Aadhar Joshi16-Oct-12 20:28 
GeneralRe: subquery using 1 table Pin
john john mackey17-Oct-12 4:38
john john mackey17-Oct-12 4:38 

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.