<?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: SQL Anywhere Procedures/Functions language in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833162#M4864005</link>
    <description>&lt;P&gt;@Breck: Are you saying I have insulted the general "Stealth marketing" rule? I feel ashamed:)&lt;/P&gt;</description>
    <pubDate>Fri, 03 Dec 2010 13:51:29 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2010-12-03T13:51:29Z</dc:date>
    <item>
      <title>SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaq-p/13833153</link>
      <description>&lt;P&gt;Been an analyst using SQL Anywhere for a few years and just getting into database management. Regarding writing/developing procedures/functions, is there a particuliar programming language that is used or patterned after? &lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2010 15:21:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaq-p/13833153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-02T15:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833154#M4863997</link>
      <description>&lt;P&gt;SQL Anywhere supports two dialects of stored procedures:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;The original dialect was introduced into the product in 1992 and is called WATCOM SQL. The name is derived from the name of the company "WATCOM" and name of the product at that time. See &lt;A href="http://en.wikipedia.org/wiki/Watcom" rel="nofollow"&gt;http://en.wikipedia.org/wiki/Watcom&lt;/A&gt; for more information about Watcom the company. In its early years, WATCOM was known for its compiler technology and in particular its WATFOR Fortran compiler which was used by Universities around the world.  As such, I would presume that the experience learned creating these compilers had some effect on the design of this dialect.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;The second dialect is TSQL and was added to the SQL Anywhere product in version 6 and is based on the TSQL dialect developed and used by Sybase ASE (and inherited by Microsoft SQL Server).&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;The WATCOM SQL dialect closely resembles the ISO/ANSI SQL/2008 standard.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2010 21:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833154#M4863997</guid>
      <dc:creator>MarkCulp</dc:creator>
      <dc:date>2010-12-02T21:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833157#M4864000</link>
      <description>&lt;P&gt;@Mark: Am I right to notice some kind of bias in favour of the first dialect in your description? If so, I would fully agree:) - And I am sure Watcom SQL seems much more familiar to those with experience in common programming languages...&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 08:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833157#M4864000</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-12-03T08:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833155#M4863998</link>
      <description>&lt;P&gt;It doesn't really matter if you prefer watcom or T-SQL because you can translate the code from watcom to T-SQL and vice versa inside the Sybase Central&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 11:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833155#M4863998</guid>
      <dc:creator>MCMartin</dc:creator>
      <dc:date>2010-12-03T11:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833156#M4863999</link>
      <description>&lt;P&gt;To complete the picture:&lt;/P&gt;

&lt;P&gt;I guess your question is focused on stored functions and procedures in SQL, and that's what the answers explain.&lt;/P&gt;

&lt;P&gt;But you can also write (or re-use) &lt;STRONG&gt;stored procedures and functions in other programming languages&lt;/STRONG&gt; and create an SQL interface for them. This includes&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;C/C++ via Embedded SQL/ODBC&lt;/LI&gt;
&lt;LI&gt;CLR (aka Dot.Net)&lt;/LI&gt;
&lt;LI&gt;Java&lt;/LI&gt;
&lt;LI&gt;Perl&lt;/LI&gt;
&lt;LI&gt;PHP&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;If this is your intention, have a look at the &lt;A href="http://dcx.sybase.com/index.html#1200en/dbreference/create-procedure-external.html" rel="nofollow"&gt;CREATE PROCEDURE statement for external procedures&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 12:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833156#M4863999</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-12-03T12:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833158#M4864001</link>
      <description>&lt;P&gt;...though there are advanced cases of Watcom SQL code that cannot be converted to T-SQL (and possibly vice versa).&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 12:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833158#M4864001</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-12-03T12:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833159#M4864002</link>
      <description>&lt;P&gt;I was &lt;STRONG&gt;wondering&lt;/STRONG&gt; when someone was going to mention all the other languages &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 12:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833159#M4864002</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2010-12-03T12:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833160#M4864003</link>
      <description>&lt;P&gt;I vote "Watcom SQL"... 99.9% of Foxhound is written in it, including the enire GUI.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 12:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833160#M4864003</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2010-12-03T12:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833161#M4864004</link>
      <description>&lt;P&gt;My preference is Watcom SQL, but users that are familiar with ASE or MS SQL may be more comfortable using the TSQL dialect.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 13:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833161#M4864004</guid>
      <dc:creator>MarkCulp</dc:creator>
      <dc:date>2010-12-03T13:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833162#M4864005</link>
      <description>&lt;P&gt;@Breck: Are you saying I have insulted the general "Stealth marketing" rule? I feel ashamed:)&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 13:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833162#M4864005</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-12-03T13:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833163#M4864006</link>
      <description>&lt;P&gt;@Mark: By the way, are there any iAnywhere staff members who have been involved with the development of the Watcom compiler products? (Yep, call me curios.)&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 14:13:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833163#M4864006</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-12-03T14:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833164#M4864007</link>
      <description>&lt;P&gt;@Volker: Yes, there are still a few.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 15:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833164#M4864007</guid>
      <dc:creator>MarkCulp</dc:creator>
      <dc:date>2010-12-03T15:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833165#M4864008</link>
      <description>&lt;P&gt;@Mark: Hmm, you can bet the curiosity isn't really satisfied, I was looking for names... - I guess us users here do not only share a admiration for you SQL heroes, there's place for compiler gurus, too:)&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 17:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833165#M4864008</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-12-03T17:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833166#M4864009</link>
      <description>&lt;P&gt;@Volker: I am a little reluctant to name others without their permission.  I will say that I know of at least six staff that worked on the Watcom compilers/interpreters and (trying not to give away too much info) some of them are users on this forum.  I'll leave it as an exercise to the reader to figure out who. Note: I am not one of them.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 20:48:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833166#M4864009</guid>
      <dc:creator>MarkCulp</dc:creator>
      <dc:date>2010-12-03T20:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833167#M4864010</link>
      <description>&lt;P&gt;@Mark: I fully appreciate your point of view, as it really would be unfair to tell about other persons's CV. (And yes, as a typical German citizen, I do care much about privacy - cf. the German Google StreetView debate...) - Besides that, I do have some suspicions:)&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2010 11:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833167#M4864010</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-12-04T11:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833168#M4864011</link>
      <description>&lt;P&gt;I've discovered you can't mix these two constructions in the same stored procedure (no matter how many lines apart they are) ...select &amp;lt;calculation&amp;gt; as VariableName1... and ...select VariableName2 = &amp;lt;calculation&amp;gt;... (disclaimer: I only know up to version 10.0.1)&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2010 12:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833168#M4864011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-04T12:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Anywhere Procedures/Functions language</title>
      <link>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833169#M4864012</link>
      <description>&lt;P&gt;Any suggestions on how to get started writing procedures/functions?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2010 21:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sql-anywhere-procedures-functions-language/qaa-p/13833169#M4864012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-10T21:56:16Z</dc:date>
    </item>
  </channel>
</rss>

