[yunqa.de] Re: How to replace Blob simply in a database ?

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Fri, 20 Mar 2009 14:08:10 +0100

Duplicate posting. Please see answer to initial message.

remi.mevaere@xxxxxxx wrote:

>I don't know if it possible, and i don't know how i could replace a blob by 
>another ?
>
>I have a database, with a table named "INICONF" with one column named 
>"fichier" (which is a blob), i just want to store one and only one blob..
>Actually i do this :
>
>------------------------------------
>
>sqlite3_prepare_v2(BDD, 'DELETE FROM INIConf', -1, @Stmt, nil);
>....
>...
>..
>sqlite3_prepare_v2(BDD, 'INSERT INTO INIConf (fichier) VALUES (?)', -1, @Stmt, 
>nil);
>...
>Inserting the blob with delphi
>...
>
>------------------------------------
>
>Is there a better way to do this (replace a blob) ?

_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: