Click here to Skip to main content
15,897,891 members
Home / Discussions / Database
   

Database

 
AnswerRe: Query text vs SP Pin
tommyligo11-Feb-07 5:32
tommyligo11-Feb-07 5:32 
Questionproblem with database access [modified] Pin
sreecahitu9-Feb-07 10:56
sreecahitu9-Feb-07 10:56 
AnswerRe: problem with database access Pin
Colin Angus Mackay9-Feb-07 23:39
Colin Angus Mackay9-Feb-07 23:39 
QuestionHow to update column values automatically Pin
Ravi Ahuja9-Feb-07 6:25
Ravi Ahuja9-Feb-07 6:25 
AnswerRe: How to update column values automatically Pin
Colin Angus Mackay9-Feb-07 23:34
Colin Angus Mackay9-Feb-07 23:34 
GeneralRe: How to update column values automatically Pin
Ravi Ahuja10-Feb-07 8:55
Ravi Ahuja10-Feb-07 8:55 
GeneralRe: How to update column values automatically Pin
Colin Angus Mackay10-Feb-07 10:00
Colin Angus Mackay10-Feb-07 10:00 
QuestionQuestion on VC++ and SQL Pin
ensger9-Feb-07 5:44
ensger9-Feb-07 5:44 
I have to make questions like this:

CString abfrage;
abfrage = "SELECT kstnr, kststamm.Bezeichnung, karnr, KarBezeichnung, buchungen.ktrnr, KtrBezeichnung, betrag, datum, datenart, belsymbol,\
belnr, text FROM buchungen LEFT OUTER JOIN karstamm ON buchungen.karnr = karstamm.Nummer ";
abfrage = abfrage + "LEFT OUTER JOIN kststamm ON buchungen.kstnr = kststamm.Nummer ";
abfrage = abfrage + " LEFT OUTER JOIN ktrstamm ON buchungen.ktrnr = ktrstamm.KtrNr WHERE datum >= ";
abfrage = abfrage + "'" + kstvon.c_str() + "' AND datum <= '" + kstbis.c_str() + "'";
if (kstnr != "") abfrage = abfrage + " AND kstnr = '" + kstnr.c_str() + "'";
if (koarnr != "") abfrage = abfrage + " AND karnr = '" + koarnr.c_str() + "'";
if (datenart != "") abfrage = abfrage + " AND datenart = '" + datenart.c_str() + "'";
rs->Close();
rs->Open(CRecordset::snapshot, abfrage);


Is there an easier way to make a Select in VC++??

I made this question in the Longe, unforounatly - and my question was even deleted (what's right, wrong click;))

But can anyone help here???

Thanks, Gerhard
AnswerRe: Question on VC++ and SQL Pin
Hamid_RT9-Feb-07 6:27
Hamid_RT9-Feb-07 6:27 
GeneralRe: Question on VC++ and SQL Pin
ensger9-Feb-07 10:53
ensger9-Feb-07 10:53 
GeneralRe: Question on VC++ and SQL Pin
Hamid_RT10-Feb-07 1:21
Hamid_RT10-Feb-07 1:21 
GeneralRe: Question on VC++ and SQL Pin
ensger12-Feb-07 3:36
ensger12-Feb-07 3:36 
GeneralRe: Question on VC++ and SQL Pin
Hamid_RT12-Feb-07 6:42
Hamid_RT12-Feb-07 6:42 
AnswerRe: Question on VC++ and SQL Pin
John M. Drescher9-Feb-07 10:38
John M. Drescher9-Feb-07 10:38 
GeneralRe: Question on VC++ and SQL Pin
ensger9-Feb-07 10:51
ensger9-Feb-07 10:51 
GeneralRe: Question on VC++ and SQL Pin
S Douglas11-Feb-07 20:32
professionalS Douglas11-Feb-07 20:32 
GeneralRe: Question on VC++ and SQL Pin
ensger12-Feb-07 3:48
ensger12-Feb-07 3:48 
GeneralRe: Question on VC++ and SQL Pin
John M. Drescher13-Feb-07 4:03
John M. Drescher13-Feb-07 4:03 
QuestionIs John M. Drscher here Pin
ensger9-Feb-07 5:38
ensger9-Feb-07 5:38 
AnswerRe: Is John M. Drscher here Pin
John M. Drescher9-Feb-07 10:44
John M. Drescher9-Feb-07 10:44 
GeneralRe: Is John M. Drscher here Pin
ensger9-Feb-07 13:10
ensger9-Feb-07 13:10 
QuestionCheck if Database exists Pin
Aaron VanWieren9-Feb-07 4:08
Aaron VanWieren9-Feb-07 4:08 
AnswerRe: Check if Database exists Pin
Colin Angus Mackay9-Feb-07 4:28
Colin Angus Mackay9-Feb-07 4:28 
GeneralRe: Check if Database exists Pin
Aaron VanWieren9-Feb-07 5:07
Aaron VanWieren9-Feb-07 5:07 
AnswerRe: Check if Database exists Pin
Blue_Boy9-Feb-07 4:38
Blue_Boy9-Feb-07 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.