Dear Friends,
How to insert or update a file in a table using the
query in postgres
CREATE TABLE excel_file_upload ( user_id integer, excel_file bytea }
example
insert into excel_file_upload values(1,file1)
file1 can be any file *.doc,*.xls
How i can do this(with out using java or any other
language) using query?
Please help me out
Regards,
Ram
|