on 2013 Mar 14 10:57 AM
I have a csv file that unloads a view from our database. It works fine, but the client wants all string data wrapped in double quotes rather than the single quotes as Sybase defaults to.
Does anyone know the command to do this? Here is what I have right now:
UNLOAD SELECT * FROM Sybase_view TO 'c:\\\\file.csv' ENCODING 'UTF-8';
Request clarification before answering.
http://dcx.sybase.com/index.html#1201/en/dbreference/unload-statement.html*d5e64802
Add the following clause to the unload statement:
QUOTE '"'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
54 | |
6 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.