[yunqa.de] How to replace a Blob ?

  • From: remi.mevaere@xxxxxxx
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Fri, 20 Mar 2009 09:09:48 +0100 (CET)

Hello, 

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) ? 

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



Other related posts: