Good day,
I have not used saving PDF to database using MSSQL... any advice or script that will solve my problem?
thank you for you help...
Good day,
I have not used saving PDF to database using MSSQL... any advice or script that will solve my problem?
thank you for you help...
this is the script that I am working on...but it is not working...no data saved to the database
long ll_file, ll_bytes, ll_pdf_key = 1
blob lblob_file
ll_file = FileOpen("C:\AFFC\otia.pdf", StreamMode!)
ll_bytes = FileReadEx(ll_file, lblob_file) /* ll_bytes value is 7982565*/
FileClose(ll_file)
if ll_bytes > 0 then
Updateblob dat_pdf
set files = :lblob_file
where dedcode = '1H1'
commit SQLCA;
end if
Hi Winthor;
The key here are the PB commands UpdateBlob() & SelectBlob(). The SS column type would be "Image".
Regards ... Chris