Click here to Skip to main content
15,914,209 members
Home / Discussions / Database
   

Database

 
GeneralRe: Did I do a bad database design? Pin
DQNOK4-Oct-07 4:46
professionalDQNOK4-Oct-07 4:46 
QuestionUsing ADO in VC++ Pin
Jackson862-Oct-07 19:49
Jackson862-Oct-07 19:49 
AnswerRe: Using ADO in VC++ Pin
Ilya Verbitskiy3-Oct-07 5:23
Ilya Verbitskiy3-Oct-07 5:23 
GeneralRe: Using ADO in VC++ Pin
Jackson863-Oct-07 19:32
Jackson863-Oct-07 19:32 
QuestionConcatenating Sql queries Pin
falles012-Oct-07 14:55
falles012-Oct-07 14:55 
AnswerRe: Concatenating Sql queries Pin
Christian Graus2-Oct-07 15:37
protectorChristian Graus2-Oct-07 15:37 
GeneralRe: Concatenating Sql queries Pin
falles012-Oct-07 15:42
falles012-Oct-07 15:42 
GeneralRe: Concatenating Sql queries Pin
falles012-Oct-07 15:53
falles012-Oct-07 15:53 
ah...i think I worked it out now. I'm not sure if that is what you were trying to tell me anyway, but I have declared the common query outside all the loops like this

string sql = "Select e.Firstname,e.Lastname,r.Role,r.Description,d.DivisionName,a.Applications,m.ManagerFirstname,m.ManagerLastname,t.ProgLanguagesDatabase" +
" from employees e,Role r,Division d, Manager m, TechnicalSkills t,Applications";

then later i have used sql2 = sql + "where etc";

Is this the correct way?

thanks

Sharny
GeneralRe: Concatenating Sql queries Pin
Christian Graus2-Oct-07 16:46
protectorChristian Graus2-Oct-07 16:46 
GeneralRe: Concatenating Sql queries Pin
falles013-Oct-07 13:57
falles013-Oct-07 13:57 
QuestionBackup Pin
mehrdadc482-Oct-07 7:28
mehrdadc482-Oct-07 7:28 
AnswerRe: Backup Pin
Paul Conrad2-Oct-07 10:22
professionalPaul Conrad2-Oct-07 10:22 
QuestionSQL interception on client workstation. Pin
LinCorJDE2-Oct-07 2:39
LinCorJDE2-Oct-07 2:39 
AnswerRe: SQL interception on client workstation. Pin
Colin Angus Mackay2-Oct-07 2:44
Colin Angus Mackay2-Oct-07 2:44 
GeneralRe: SQL interception on client workstation. Pin
LinCorJDE2-Oct-07 2:58
LinCorJDE2-Oct-07 2:58 
QuestionMicrosoft ODBC Driver for Oracle [urgent] Please Help Pin
Programm3r1-Oct-07 21:56
Programm3r1-Oct-07 21:56 
AnswerRe: Microsoft ODBC Driver for Oracle [urgent] Please Help Pin
Programm3r2-Oct-07 1:23
Programm3r2-Oct-07 1:23 
AnswerRe: Microsoft ODBC Driver for Oracle [urgent] Please Help Pin
Pete O'Hanlon2-Oct-07 1:24
mvePete O'Hanlon2-Oct-07 1:24 
GeneralRe: Microsoft ODBC Driver for Oracle [urgent] Please Help Pin
Programm3r2-Oct-07 4:58
Programm3r2-Oct-07 4:58 
GeneralRe: Microsoft ODBC Driver for Oracle [urgent] Please Help Pin
Pete O'Hanlon2-Oct-07 9:55
mvePete O'Hanlon2-Oct-07 9:55 
JokeRe: Microsoft ODBC Driver for Oracle [urgent] Please Help Pin
ChandraRam2-Oct-07 21:05
ChandraRam2-Oct-07 21:05 
QuestionDuplicate with the Same Identity Number Pin
Vimalsoft(Pty) Ltd1-Oct-07 21:54
professionalVimalsoft(Pty) Ltd1-Oct-07 21:54 
AnswerRe: Duplicate with the Same Identity Number Pin
Pete O'Hanlon1-Oct-07 22:19
mvePete O'Hanlon1-Oct-07 22:19 
GeneralRe: Duplicate with the Same Identity Number Pin
Vimalsoft(Pty) Ltd1-Oct-07 22:50
professionalVimalsoft(Pty) Ltd1-Oct-07 22:50 
GeneralRe: Duplicate with the Same Identity Number Pin
Pete O'Hanlon1-Oct-07 22:53
mvePete O'Hanlon1-Oct-07 22:53 

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.