Re: Retrieve and update from SQL

From: Javier (jleyba_at_manresa.net)
Date: 02/07/05


Date: Mon, 07 Feb 2005 09:35:51 +0100

Noah Roberts wrote:
> Javier wrote:
>
>> 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.

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



Relevant Pages

  • Re: Arabic Lanaguage support
    ... "Encoding type:" It remains blank by default. ... >> in retrieving records from the database. ... >> '%1%2%3+' etc and retrieve no records although these ... >>> A hyperlink can not retrieve data from a database. ...
    (microsoft.public.frontpage.programming)
  • Re: Help - Timing Logic
    ... from the database ... ... now you either need to incorporate a locking procedure ... ... opposed to building the transaction in the code. ... implement as above locking only the records you retrieve / update - need ...
    (microsoft.public.dotnet.languages.vb)
  • Re: OT: MySQL versus PostgreSQL and database design
    ... to retrieve all the events at once. ... can make that a primary key in the database. ... likely to want to retrieve all at once, without any sorting. ... different the event types are -- if they've all got exactly the same ...
    (rec.crafts.metalworking)
  • Re: Getting a (non-radio) buttons index number from array
    ... index in the Comment array of the button that was fired. ... you don't need js if you print out the full DOM ... There needs to be some unique way to identify the row in the database. ... Then it's easy to retrieve the ...
    (comp.lang.php)
  • Re: OT: MySQL versus PostgreSQL and database design
    ... to retrieve all the events at once. ... in a way that you can avoid any real searching in your application, ... can make that a primary key in the database. ... I was thinking of sorting the events into different tables so that each table contains one type of event - specifically a subset of events that I'm likely to want to retrieve all at once, ...
    (rec.crafts.metalworking)