<?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: VBA Access Sybase SQL Anywhere 17 in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824043#M4854886</link>
    <description>&lt;P&gt;Hello Vlad,
I was able to start test.db from command line (cmd). Now it works. But how do I check SQL Query which comes from MS ADO?
Johannes&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2020 09:46:08 GMT</pubDate>
    <dc:creator>former_SQLA_member1694943</dc:creator>
    <dc:date>2020-10-05T09:46:08Z</dc:date>
    <item>
      <title>VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaq-p/13824040</link>
      <description>&lt;P&gt;Hello,
I tried to access sybase via MSADO 2.8 and SQL Anywhere17 Driver, but was not successful. Obviously it sets up a connection (there is no error message) but it does not except the SELECT etc. It says: the syntax is wrong. Even if the syntax is the same as in MS Query / Excel. There it works via SQL Anywhere 17 ODBC and I can edit the values in the fields of Sybase DB.
Does anybody have an advise? I would be very thankful.
Johannes&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 04:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaq-p/13824040</guid>
      <dc:creator>former_SQLA_member1694943</dc:creator>
      <dc:date>2020-10-05T04:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824042#M4854885</link>
      <description>&lt;P&gt;Can you start the DB server using the key "-zr" and check what SQL query comes from MSADO? Maybe it comes with "square brackets":&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;dbsrv17 -zr sql test.db&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 05 Oct 2020 07:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824042#M4854885</guid>
      <dc:creator>Vlad</dc:creator>
      <dc:date>2020-10-05T07:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824043#M4854886</link>
      <description>&lt;P&gt;Hello Vlad,
I was able to start test.db from command line (cmd). Now it works. But how do I check SQL Query which comes from MS ADO?
Johannes&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 09:46:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824043#M4854886</guid>
      <dc:creator>former_SQLA_member1694943</dc:creator>
      <dc:date>2020-10-05T09:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824044#M4854887</link>
      <description>&lt;P&gt;In your command line, start dbsrv17 with these extra options
&lt;/P&gt;&lt;PRE&gt;-zr sql -zo "c:\\temp\\logsql.txt"
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 10:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824044#M4854887</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2020-10-05T10:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824045#M4854888</link>
      <description>&lt;P&gt;You can also turn -zr on and off dynamically, after the server has started; see the Help Topic &lt;A href="https://help.sap.com/viewer/61ecb3d4d8be4baaa07cc4db0ddb5d0a/17.0/en-US/3bee2ab96c5f1014aa5995f285c5f4bc.html"&gt;&lt;B&gt;Request Logging&lt;/B&gt;&lt;/A&gt; to learn about CALL sa_server_option().&lt;/P&gt;
&lt;P&gt;. . . request logging is a wonderful tool for desperate times &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 10:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824045#M4854888</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2020-10-05T10:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824046#M4854889</link>
      <description>&lt;P&gt;after cmd command: &amp;gt;dbsrv17 -zr sql -zo "c:\\temp\\logsql.txt" test1.db
 - the logsql.txt is empty. Any suggestions? Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 10:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824046#M4854889</guid>
      <dc:creator>former_SQLA_member1694943</dc:creator>
      <dc:date>2020-10-05T10:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824047#M4854890</link>
      <description>&lt;P&gt;Is it still empty when you try to access the database via MS Query and/or your application? Because the log will only list database requests so just starting the database via dbsrv17 does not lead to any database request.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 11:24:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824047#M4854890</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2020-10-05T11:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824048#M4854891</link>
      <description>&lt;P&gt;In addition to Volker's question, you can log &lt;B&gt;everything&lt;/B&gt; (not just sql) this way:&lt;/P&gt;
&lt;PRE&gt;dbsrv17 -zr all -zo "c:\\temp\\logsql.txt" test1.db
&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Oct 2020 13:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824048#M4854891</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2020-10-05T13:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824049#M4854892</link>
      <description>&lt;P&gt;Thank you, Volker, so far,
when I start the database via dbsrv17... I am not anymore able to use an DataSource connector in order to connect Excel/MSQuery. But if I try to connect via VBA connection string (sConnStr = "DRIVER=SQL Anywhere 17;Database=C:\\Users......\\test1.db;UID=test1User;PWD=testpwd"
) - the log file contains entries. It says, that the correlation name (of the target table) is missing. I do not have extended knowledge in this field, this is the point, I think.
Generally I am looking for a proper way to communicate with Sybase via VBA, as it works (very god!) with MSSQL and SQLite.
Thanks very much to everybody for your precious help so far. Now I have to prepare myself for a business trip. I will try to continue afterwards.
Johannes&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 04:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824049#M4854892</guid>
      <dc:creator>former_SQLA_member1694943</dc:creator>
      <dc:date>2020-10-06T04:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824050#M4854893</link>
      <description>&lt;P&gt;thank you, Breck, very much&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 04:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824050#M4854893</guid>
      <dc:creator>former_SQLA_member1694943</dc:creator>
      <dc:date>2020-10-06T04:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824051#M4854894</link>
      <description>&lt;P&gt;thank you, Vlad, very much so far&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 04:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824051#M4854894</guid>
      <dc:creator>former_SQLA_member1694943</dc:creator>
      <dc:date>2020-10-06T04:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824052#M4854895</link>
      <description>&lt;P&gt;Please start a new question. Include ALL the copy/pasted text of your code for connecting, AND the log file.&lt;/P&gt;
&lt;P&gt;You can format the code with explicit PRE tags...&lt;/P&gt;
&lt;P&gt;&amp;lt;PRE&amp;gt;
&lt;/P&gt;&lt;PRE&gt;code
more code
and so on
&lt;/PRE&gt;
&amp;lt;/PRE&amp;gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 11:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824052#M4854895</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2020-10-07T11:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824053#M4854896</link>
      <description>&lt;P&gt;When you get back, if you just want to send me all your data via email, I can either (a) post an answer here, or more likely (b) post a formatted question for you... breck dot carter at gmail.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 11:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824053#M4854896</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2020-10-07T11:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824041#M4854884</link>
      <description>&lt;P&gt;'starts the server etc.&lt;/P&gt;
&lt;P&gt;sConnStr = "DRIVER=SQL Anywhere 17;Database=C:\\ProgramData...\\xxx.db;ENG=..DBSRV;DBN=Da;UID=yyy;PWD=xxx" 'starts the server etc. it works 20201023&lt;/P&gt;
&lt;P&gt;'connects to a running server&lt;/P&gt;
&lt;P&gt;sConnStr = "DRIVER=SQL Anywhere 17;ENG=..DBSRV;DBN=..;UID=yyy;PWD=xxx" 'connects to a running server, it works 20201023&lt;/P&gt;
&lt;P&gt;Thank you everybody for your precious help!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 06:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824041#M4854884</guid>
      <dc:creator>former_SQLA_member1694943</dc:creator>
      <dc:date>2020-11-02T06:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824054#M4854897</link>
      <description>&lt;P&gt;Note, this will only work when the database is expected to run on the local machine, i.e. not on a network server because a SQL Anywhere database client cannot itself start a database server on a remote machine.&lt;/P&gt;
&lt;P&gt;Note, if the database is expected to run only locally, you can combine that into one connection string via using the &lt;A href="http://dcx.sap.com/index.html#sqla170/en/html/81506fa96ce2101494cbacc35bf60f42.html"&gt;START connection parameter&lt;/A&gt;, such as...&lt;/P&gt;
&lt;PRE&gt;"START=dbeng17 -xd -c 16M;Server=DBSRV;DBF=C:\\ProgramData...\\xxx.db;DBN=Da;UID=yyy;PWD=xxx"&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Nov 2020 07:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824054#M4854897</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2020-11-02T07:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Access Sybase SQL Anywhere 17</title>
      <link>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824055#M4854898</link>
      <description>&lt;P&gt;thank you Volker. May be I will have same more questions in the future. Johannes&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 09:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/vba-access-sybase-sql-anywhere-17/qaa-p/13824055#M4854898</guid>
      <dc:creator>former_SQLA_member1694943</dc:creator>
      <dc:date>2020-11-02T09:35:14Z</dc:date>
    </item>
  </channel>
</rss>

