SQLite Forum

script de update
Login
472/5000
Hello, I need a script to update my table with photos, I have to pass the path of the photo ???

Doing this give me an error:
[08:56:49] Error while executing SQL query on database 'Database': Could not open file C: \ FotosColaboradores \ 3302.jpg for reading: The system cannot find the file specified.

But the picture is there, on the right path.

I appreciate any help.

My script:

UPDATE CRACHAS SET FOTO = ReadFile ('C: \ FotosColaboradores \ 3302.jpg') WHERE ID = 3302;