[SQL] Problem inserting image

2008-12-22 Thread Tk421
    I've made a routine in VB to insert a image into a table. The code is:          Set cmd = New ADODB.Command     cmd.ActiveConnection = objconexion     cmd.CommandText = "INSERT INTO tb_tmp_ventanas (ventana) VALUES (?)"     archivo = "c:\image.jpg"     fd =

Re: [SQL] Problem inserting image

2008-12-22 Thread Richard Broersma
On Mon, Dec 22, 2008 at 12:08 PM, Tk421 wrote: > I've made a routine in VB to insert a image into a table. The code is: > But on execute there is the next error: ERROR: type "lo" does not exist; > > How can i reference the "lo" type or create it, in postgres 8.3 Here is an example ho