Is there a solution to retrieve blob dynamically. The table and column name is known only at runtime.
It appears that datawindow has blobtable column that actually retrieves blob data, but there is no method to assign it to Blob variable.
The blob data I need to get is a binary data, not image.
Thanks,
Yuri
ORA-00900: invalid SQL statement
string ls_sql
blob lbl
ls_sql = "SELECT BLOB_COLUMN FROM TBL WHERE ..."
DECLARE my_cursor DYNAMIC CURSOR FOR SQLSA;
PREPARE SQLSA FROM :ls_sql;
OPEN DYNAMIC my_cursor;
FETCH my_cursor INTO :lbl;
CLOSE my_cursor;
That's how it works for me.
Has anyone managed to make an updateblob with dynamic SQL?