Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 Save PDF Blob to c:\

Author  Topic 

robbiesqlteam
Starting Member

1 Post

Posted - 2014-05-12 : 10:15:24
I am using sybase - isql to export a blob pdf to the local c: drive but i am getting an error. help!

select document_name from document where doc_id=375137109
into outfile 'c:\\test.pdf'
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n';

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-05-12 : 11:36:44
You'll want to post your question on a site that specializes in Sybase. SQLTeam is for Microsoft SQL Server, and the products are vastly different now. They used to be very similar many years ago.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -