anushrestha
Programmer
I want to load text data from the memory not from the file. It's a sensitive info like credit card that I don't want to put in the file and then load. The way I was thinking is create a tmp table with a text data type field within the program. Insert the text in that text datatype field. Then assign it to the text data type variagle by seleting from that temp table after I massage it the way I wanted.
Following is my test code using a sample database and a database table. How can I insert the text datatype variable into the table without doing the load?
DATABASE stores7
define
txtblob text
##########################################################################
main
##########################################################################
locate txtblob in memory
insert into catalog
values (0,302,"HRO","this is a test for anu for text value ", '','varchar value test')
=>>>617: A blob data type must be supplied within this context
select cat_descr into txtblob from catalog
where rowid = 10074
end main
Following is my test code using a sample database and a database table. How can I insert the text datatype variable into the table without doing the load?
DATABASE stores7
define
txtblob text
##########################################################################
main
##########################################################################
locate txtblob in memory
insert into catalog
values (0,302,"HRO","this is a test for anu for text value ", '','varchar value test')
=>>>617: A blob data type must be supplied within this context
select cat_descr into txtblob from catalog
where rowid = 10074
end main