Click here to Skip to main content
15,929,429 members
Home / Discussions / Database
   

Database

 
GeneralA SQL SERVER Question Pin
Kashif Razzaq18-Sep-02 19:52
Kashif Razzaq18-Sep-02 19:52 
GeneralRe: A SQL SERVER Question Pin
Rein Hillmann18-Sep-02 23:00
Rein Hillmann18-Sep-02 23:00 
GeneralRe: a simple stored procedure Pin
Jon Hulatt18-Sep-02 22:16
Jon Hulatt18-Sep-02 22:16 
GeneralHelp with SQL Parameter Pin
~toki18-Sep-02 15:59
~toki18-Sep-02 15:59 
GeneralRe: Help with SQL Parameter Pin
Jon Hulatt18-Sep-02 22:11
Jon Hulatt18-Sep-02 22:11 
GeneralRe: Help with SQL Parameter Pin
Rein Hillmann18-Sep-02 23:02
Rein Hillmann18-Sep-02 23:02 
GeneralRe: Help with SQL Parameter Pin
~toki19-Sep-02 14:01
~toki19-Sep-02 14:01 
GeneralProblem with SQL FETCH Pin
Cheickna18-Sep-02 4:03
Cheickna18-Sep-02 4:03 
Hi,

I have some problem with this query i execute under visual C++6.0

"SELECT Nom, CodePostal, Sum(Montant) AS MontantRemb, DateTraitement <br />
FROM TClient GROUP BY Nom, CodePostal, Montant,DateTraitement <br />
HAVING (((DateTraitement)=#09/05/2002#));"


In Microsoft Access interface it work well but if i execute it via ODBC like this :

retcode = SQLExecDirect(m_hstmt,(SQLCHAR*)strSQL, SQL_NTS);

this isntruction work also but i have a problem with SQL Fetch:

while (( retcode = SQLFetch(m_hstmt))!= SQL_NO_DATA)<br />
   {	<br />
	SQLGetData(m_hstmt, 1, SQL_C_CHAR, szNomClient, 25, &cbName);<br />
	SQLGetData(m_hstmt, 2, SQL_C_CHAR, szCodePostal, 6, &cbName);<br />
	SQLGetData(m_hstmt, 3, SQL_C_CHAR, szMontant,   16, &cbName);<br />
	SQLGetData(m_hstmt, 4, SQL_C_CHAR, szDateTraitement,   11, &cbName);<br />
   }
Here retcode return 100 and i can't obtain my data

Thanks in advance for any help
QuestionWhy is ADO.NET so slow? Pin
ekk17-Sep-02 6:02
ekk17-Sep-02 6:02 
AnswerRe: Why is ADO.NET so slow? Pin
Nick Parker17-Sep-02 16:51
protectorNick Parker17-Sep-02 16:51 
GeneralRe: Why is ADO.NET so slow? Pin
ekk18-Sep-02 11:45
ekk18-Sep-02 11:45 
GeneralInstallShield - MSAccess Pin
Spiros17-Sep-02 4:16
Spiros17-Sep-02 4:16 
GeneralRe: InstallShield - MSAccess Pin
David Salter17-Sep-02 11:55
David Salter17-Sep-02 11:55 
GeneralRe: InstallShield - MSAccess Pin
Spiros17-Sep-02 16:40
Spiros17-Sep-02 16:40 
GeneralRe: InstallShield - MSAccess Pin
Paul Riley18-Sep-02 12:34
Paul Riley18-Sep-02 12:34 
QuestionHow can I list all available OLE DB providers with C#? Pin
Vu Truong17-Sep-02 0:47
Vu Truong17-Sep-02 0:47 
GeneralWierd ADO problem Pin
James Spibey17-Sep-02 0:39
James Spibey17-Sep-02 0:39 
GeneralRe: Wierd ADO problem Pin
SimonS17-Sep-02 4:20
SimonS17-Sep-02 4:20 
GeneralRe: Wierd ADO problem Pin
James Spibey17-Sep-02 5:18
James Spibey17-Sep-02 5:18 
QuestionList all available OLE DB providers by another way??? Pin
Vu Truong16-Sep-02 23:20
Vu Truong16-Sep-02 23:20 
GeneralGetting the SQL server Locale with ADO Pin
Le centriste16-Sep-02 13:04
Le centriste16-Sep-02 13:04 
GeneralRe: Getting the SQL server Locale with ADO Pin
Richard Deeming17-Sep-02 0:41
mveRichard Deeming17-Sep-02 0:41 
GeneralHELP (search in the image data type) (MSSQL Server) Pin
Archigal16-Sep-02 10:16
Archigal16-Sep-02 10:16 
GeneralAccessing MS SQL-Server via ADO Pin
am_16-Sep-02 3:10
am_16-Sep-02 3:10 
GeneralRe: Accessing MS SQL-Server via ADO Pin
Jon Hulatt16-Sep-02 22:19
Jon Hulatt16-Sep-02 22: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.