<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: export data using the output command from interactive sql in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433549#M4250097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Chris for your effort. Actually they are supposed to have realized these risks. Actually dbisql manages to create such big files running locally on the ASE machine. Concerning the -nogui option I have tried and failed to write a valid -c connection string for ASE. Even when using DSN it fails to connect&lt;/P&gt;&lt;P&gt;Any ideas on this is welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kimon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2015 12:35:52 GMT</pubDate>
    <dc:creator>kimon_moschandreou</dc:creator>
    <dc:date>2015-11-16T12:35:52Z</dc:date>
    <item>
      <title>export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaq-p/11433539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is requested to export data from ASE in a csv file having all the data quoted. In Interactive SQL GUI we can use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTPUT TO 'C:\tmp\data.csv' FORMAT ASCII&lt;/P&gt;&lt;P&gt;DELIMITED BY ',' QUOTE '''' ALL ENCODING cp1253&lt;/P&gt;&lt;P&gt;GO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it returns the desired result. However we cannot create a script executed from command line that produces this file, because the GUI dbisql cannot take any arguments in order to connect&amp;nbsp; to an ASE instance and execute an SQL file and the command line isql cannot accept the output command. I think we cannot achieve this using only the ASE client tools&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A supposed solution could be to create a string for each row and export it using bcp or even isql. I would prefer to avoid such an approach. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 16:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaq-p/11433539</guid>
      <dc:creator>kimon_moschandreou</dc:creator>
      <dc:date>2015-11-12T16:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433540#M4250088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both bcp and isql can create rows where columns are separated by tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This typically suffices for exporting to excel etc. &lt;/P&gt;&lt;P&gt;You can also use some other character like '|" pipe symbol or "~" tilde etc. to separate columns.&amp;nbsp; When you import in excel you can use that as a column separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For bcp use character mode output, tab is default column separator.&lt;/P&gt;&lt;P&gt;For isql space is the default column separator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use different column separator (e.g. "|" ) &lt;SPAN style="font-size: 10pt;"&gt;then &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;for bcp use&amp;nbsp; -c -t '|' option&lt;/P&gt;&lt;P&gt;for isql use&amp;nbsp; -s '|'&amp;nbsp; option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output of isql and bcp can be directed into a file. Similar to what you describe above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also easily script wrappers to accept server, database and table/view names to run for a specific purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avinash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 17:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433540#M4250088</guid>
      <dc:creator>former_member89972</dc:creator>
      <dc:date>2015-11-12T17:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433541#M4250089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. I am aware of bcp properties, but the problem here is the request to have all the data in quotes, something that is not an option for bcp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably we have to use a third party tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 08:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433541#M4250089</guid>
      <dc:creator>kimon_moschandreou</dc:creator>
      <dc:date>2015-11-13T08:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433542#M4250090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00168.1530/doc/html/san1276279417813.html"&gt;http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00168.1530/doc/html/san1276279417813.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Kimon,&lt;/P&gt;&lt;P&gt;are you speaking about this interactive SQL tool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes then you should be able to connect via script .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;DJ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 11:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433542#M4250090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-11-13T11:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433543#M4250091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This comes from the IQ documentation and indeed with this interactive SQL I can create a script. However I cannot with the interactive SQL coming with ASE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kimon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 12:05:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433543#M4250091</guid>
      <dc:creator>kimon_moschandreou</dc:creator>
      <dc:date>2015-11-13T12:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433544#M4250092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome to look out for a third party tool &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1348/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Being a passionate developer, I tend to use the lego blocks provided first !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So while you are looking for the tool,&lt;/P&gt;&lt;P&gt;you can use powerful object called &lt;STRONG&gt;view&lt;/STRONG&gt; ! &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;view&lt;/STRONG&gt; also allows you projections (set of columns) and selection (set of rows) and rearrange the columns, column names, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both bcp and isql can get data out from a view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example :&amp;nbsp; To get 4 coulmns out of master..syslogins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create view v_mysyslogins&lt;/P&gt;&lt;P&gt;as&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;'"' + name + '"' as name,&lt;/P&gt;&lt;P&gt;'"' + convert(varchar(5), suid) + '"' as suid,&lt;/P&gt;&lt;P&gt;'"' + fullname + '"' as fullname,&lt;/P&gt;&lt;P&gt;'"' + convert(varchar(30), crdate, 109) + '"' as crdate&lt;/P&gt;&lt;P&gt;from master..syslogins&lt;/P&gt;&lt;P&gt;go&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample output is : &lt;/P&gt;&lt;P&gt;1&amp;gt; select top 3 * from v_mysyslogins&lt;/P&gt;&lt;P&gt;2&amp;gt; go&lt;/P&gt;&lt;P&gt; name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; suid&amp;nbsp;&amp;nbsp;&amp;nbsp; fullname&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; crdate&lt;/P&gt;&lt;P&gt; -------------------------------- ------- -------------------------------- --------------------------------&lt;/P&gt;&lt;P&gt; "sa"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "1"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ""&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Nov 18 2010&amp;nbsp; 4:16:10:886PM"&lt;/P&gt;&lt;P&gt; "probe"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "2"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ""&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Nov 18 2010&amp;nbsp; 4:16:35:026PM"&lt;/P&gt;&lt;P&gt; "locke"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "4"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ""&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3 rows affected)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you can use isql or bcp to get data using this view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also craft your script(s) to automate creation of this type of views on the fly by providing just the table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avinash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 14:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433544#M4250092</guid>
      <dc:creator>former_member89972</dc:creator>
      <dc:date>2015-11-13T14:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433545#M4250093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't confuse 'isql' which is the command-line tool that comes with ASE with 'DBISQL or dbisql' (Interative SQL GUI) that comes with ASE, IQ and SQL Anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are refererencing dbisql/DBISQL in your use of 'output' statements, which 'isql' does not use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also from some of the other responses, there is no reason that you cannot use other delimiters (e.g. tab, '|', etc) in the BCP tool (even through views) to output the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tools such as Excel can easliy import different delimiters and ignore the double quotes.&amp;nbsp; Often other delimiters are used as sometimes the data also contains double quotes (and then you need to find a way to 'escape' the embedded quote).&amp;nbsp; Better to just skip needing double quotes around the strings and use a different delimiter that doesn't show in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure you really need double quotes around strings and commas as the delimiter?&amp;nbsp; What is the file being generated for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 15:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433545#M4250093</guid>
      <dc:creator>ChrisBaker</dc:creator>
      <dc:date>2015-11-13T15:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433546#M4250094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answer. I totally agree on the remark for the quotes, however it is a customer request I cannot change. They already have a query exporting the correct file using dbisql with the output statement, but unfortunately it cannot be part of a script.&lt;/P&gt;&lt;P&gt;Thank for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kimon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 12:06:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433546#M4250094</guid>
      <dc:creator>kimon_moschandreou</dc:creator>
      <dc:date>2015-11-16T12:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433547#M4250095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your effort. This is an approach I want to avoid because they are going to create huge reports of hundreds of thousands of rows and probably wide.&lt;/P&gt;&lt;P&gt;This is actually the only solution using exclusively the SAP (Sybase) provided tools&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kimon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 12:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433547#M4250095</guid>
      <dc:creator>kimon_moschandreou</dc:creator>
      <dc:date>2015-11-16T12:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433548#M4250096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried calling 'dbisql' with the '-nogui' option (along with -'c ...) and passing the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using this to extract hundreds of thousands of rows then there is definitely something wrong here as other things, such as network traffic to the dbisql client, will impact performance (you can set a larger server packet size for this).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How often is this being performed?&amp;nbsp; Are the 'reports' only extractions or the results of SQL queries?&amp;nbsp; What is the destination system - is it another database?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have they looked at other tools such as Data Services or SRS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 12:30:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433548#M4250096</guid>
      <dc:creator>ChrisBaker</dc:creator>
      <dc:date>2015-11-16T12:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433549#M4250097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Chris for your effort. Actually they are supposed to have realized these risks. Actually dbisql manages to create such big files running locally on the ASE machine. Concerning the -nogui option I have tried and failed to write a valid -c connection string for ASE. Even when using DSN it fails to connect&lt;/P&gt;&lt;P&gt;Any ideas on this is welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kimon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 12:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433549#M4250097</guid>
      <dc:creator>kimon_moschandreou</dc:creator>
      <dc:date>2015-11-16T12:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433550#M4250098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the output command as per your example, create a file sql.sql containing something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select 1&lt;/P&gt;&lt;P&gt;go&lt;/P&gt;&lt;P&gt;output to 'c:\temp\output.txt' FORMAT ASCII&lt;/P&gt;&lt;P&gt;DELIMITED BY ',' QUOTE '''' ALL ENCODING cp1253&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then run:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# ./dbisql -host &amp;lt;host&amp;gt; -port &amp;lt;port&amp;gt; -c "UID=&amp;lt;user&amp;gt;;PWD=&amp;lt;pwd&amp;gt;" -nogui sql.sql;cat /cygdrive/c/temp/output.txt&lt;/P&gt;&lt;P&gt;'1'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 17:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433550#M4250098</guid>
      <dc:creator>simon_ogden</dc:creator>
      <dc:date>2015-11-16T17:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433551#M4250099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you a lot Simon, this is it!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 07:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433551#M4250099</guid>
      <dc:creator>kimon_moschandreou</dc:creator>
      <dc:date>2015-11-17T07:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: export data using the output command from interactive sql</title>
      <link>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433552#M4250100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have depended mostly on isql for DBA work and&amp;nbsp; frankly had not paid enough attention to dbisql so far.&amp;nbsp; &lt;/P&gt;&lt;P&gt;So it was a refreshing segway to learn about it &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1381/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Kimon for raising the expectation bar !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thanks to Simon for providing inputs on what really works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avinash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 16:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/export-data-using-the-output-command-from-interactive-sql/qaa-p/11433552#M4250100</guid>
      <dc:creator>former_member89972</dc:creator>
      <dc:date>2015-11-17T16:20:28Z</dc:date>
    </item>
  </channel>
</rss>

