Morning....
I am having probs with a chunk of my code, its causing a segmentation fault when i try and execute an SQL command that i have bound paremeters too, I was wondering if anyone could pot an obvious mistake for me?!
for(unsigned int i = 0; i < rowNum.size(); i++){...
Hello
I am trying to run a stored procedure that takes in a string and returns an INT, i know the procedure works, but i am now trying o call the procedure from C++. The problem being is that i cannot seem to get the returned int! this is the code i have so far, i'm guessing its wrong, but i'm...
Hello
I don't know really where to startw ith writing a stored procedure.
I need it to return the characterID (an automayically icrementing number) of the record i am going to insert.
So, insert a record and return the ID of it...simple i know, i can do it wth an insert and then a select, but...
Hello
I am using SQL Server and writing code to interface with this under LInux c++ etc...
My question is that once i've prepared a statement, and executeed it, if i want to execute another sing the same handle, should i free it and realloacte it!?
Cheers
Andy
Rosti
Cracking idea, and somethig I will be trying in the future for another part of this project i am working on.
For the momment tho I installed somehting called easysoft ODBC-ODBC Bridge, so i can connect to ODBC Sources on a windows machine and run sql queries straight from my linux...
Has anyone ever used the ODBC Easysoft bridge to connect linux to an SQL Server?
If so has anyone written C++ code in ordeer to interface a programw ith the odbc connection?
IF so could i ask for some help? as i don't know reallywhere to start!
Cheers
Andy
Hello
I'm using an SQL server on Windows NT 4.0 SP6, but need to access it via some method, from my Program which is running under Linux (RedHat). Does any one know an easy way of doing this? i.e. hoe to setup an odbc?
Cheers for any help
Andy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.