Retrieve and update from SQL

J

Javier

Hi All

I'm retrieving data from a SQL Server with C++. I need to retrieve a row
and update some column in this retrieved row.

Is this possible ? How could I do it ? Could anybody send me o tell me
where could I found a good sample ?

Thanks in advance

J
 
N

Noah Roberts

Javier said:
Hi All

I'm retrieving data from a SQL Server with C++. I need to retrieve a row
and update some column in this retrieved row.

Is this possible ? How could I do it ?

Use the programming API for the database you are trying to connect to?

I mean, that is what I would do, but maybe I am just silly.
 
J

Javier

Noah said:
Use the programming API for the database you are trying to connect to?

I mean, that is what I would do, but maybe I am just silly.

Thanks for your reply.

Yes, I'm using ADO to access to MSDE. I've been "googling" and got some
samples about retrieve data in a recordset and it worked fine, but I
need to update retrieved data and I couldn't find info about it...

J
 
J

Johan

Noah Roberts said:
Use the programming API for the database you are trying to connect to?

I mean, that is what I would do, but maybe I am just silly.

Hi,

You can use odbc connection to your database ( if it supports )

Johan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top