<?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: Table/Column name case in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831940#M4862783</link>
    <description>&lt;P&gt;I will take your word for the fact Sybase Central honors the original CREATE TABLE case, since that behavior is predicted by the motto &lt;STRONG&gt;"Watcom does things the way they should be done."&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRIKE&gt;SQL Anywhere&lt;/STRIKE&gt; Adaptive Server Anywhere Version 9 dbisql does the same, echoes the names back in the original case:&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="alt text" src="http://img710.imageshack.us/img710/9334/dbisql9allcapsinupperca.jpg" /&gt;&lt;/P&gt;

&lt;P&gt;PowerBuilder 10 &lt;STRIKE&gt;mucks it up&lt;/STRIKE&gt; differs in two ways... all lower case in the tree view on the left, and capitalized in the DataWindow view on the right (the latter is probably desired behavior, but the former is not):&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="alt text" src="http://img251.imageshack.us/img251/4151/pb10allcapsinlowercase.jpg" /&gt;&lt;/P&gt;

&lt;P&gt;So, it ain't got nothing to do with the SQL Anywhere engine... that leaves PowerBuilder and ODBC. &lt;/P&gt;

&lt;P&gt;However, an examination of the ODBC Driver Properties in the PowerBuilder Database painter reveals that SQL_IDENTIFIER_CASE = 4 which (I am pretty sure) means "SQL_IC_MIXED – identifier names are not case sensitive, and are stored in mixed case in the system catalog" which AFAIK is an accurate description of how SQL Anywhere, er, Adaptive Server Anywhere databases present themselves to the outside world:&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="alt text" src="http://img530.imageshack.us/img530/1349/pb10sqlidentifiercaseeq.jpg" /&gt; &lt;/P&gt;

&lt;P&gt;So... that leaves PowerBuilder... perhaps something in that funky PB - ODB - INI file that has bedeviled generations of PowerBuilder developers? &lt;/P&gt;

&lt;P&gt;I leave that as an exercise for others &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Nov 2010 10:32:33 GMT</pubDate>
    <dc:creator>Breck_Carter</dc:creator>
    <dc:date>2010-11-13T10:32:33Z</dc:date>
    <item>
      <title>Table/Column name case</title>
      <link>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaq-p/13831939</link>
      <description>&lt;P&gt;I have a database in SQL Anywhere 9 and the application is written in PowerBuilder 10.&lt;/P&gt;

&lt;P&gt;I created the tables and columns with all upper case names. When I connect in PowerBuilder it shows them all in lower case. When I view them in Sybase Central they show in upper case.&lt;/P&gt;

&lt;P&gt;I there a setting in SA or PB that can fix this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2010 19:19:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaq-p/13831939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-12T19:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table/Column name case</title>
      <link>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831942#M4862785</link>
      <description>&lt;P&gt;I would assume that this is a PB issue. AFAIK, table names (as all identifiers) are generally case-insensitive, and SA stores them exaclty as you enter them. - That assumed, I don't know PB so can't tell whether there's an according option...&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2010 10:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831942#M4862785</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2010-11-13T10:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table/Column name case</title>
      <link>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831940#M4862783</link>
      <description>&lt;P&gt;I will take your word for the fact Sybase Central honors the original CREATE TABLE case, since that behavior is predicted by the motto &lt;STRONG&gt;"Watcom does things the way they should be done."&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRIKE&gt;SQL Anywhere&lt;/STRIKE&gt; Adaptive Server Anywhere Version 9 dbisql does the same, echoes the names back in the original case:&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="alt text" src="http://img710.imageshack.us/img710/9334/dbisql9allcapsinupperca.jpg" /&gt;&lt;/P&gt;

&lt;P&gt;PowerBuilder 10 &lt;STRIKE&gt;mucks it up&lt;/STRIKE&gt; differs in two ways... all lower case in the tree view on the left, and capitalized in the DataWindow view on the right (the latter is probably desired behavior, but the former is not):&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="alt text" src="http://img251.imageshack.us/img251/4151/pb10allcapsinlowercase.jpg" /&gt;&lt;/P&gt;

&lt;P&gt;So, it ain't got nothing to do with the SQL Anywhere engine... that leaves PowerBuilder and ODBC. &lt;/P&gt;

&lt;P&gt;However, an examination of the ODBC Driver Properties in the PowerBuilder Database painter reveals that SQL_IDENTIFIER_CASE = 4 which (I am pretty sure) means "SQL_IC_MIXED – identifier names are not case sensitive, and are stored in mixed case in the system catalog" which AFAIK is an accurate description of how SQL Anywhere, er, Adaptive Server Anywhere databases present themselves to the outside world:&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="alt text" src="http://img530.imageshack.us/img530/1349/pb10sqlidentifiercaseeq.jpg" /&gt; &lt;/P&gt;

&lt;P&gt;So... that leaves PowerBuilder... perhaps something in that funky PB - ODB - INI file that has bedeviled generations of PowerBuilder developers? &lt;/P&gt;

&lt;P&gt;I leave that as an exercise for others &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2010 10:32:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831940#M4862783</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2010-11-13T10:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table/Column name case</title>
      <link>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831943#M4862786</link>
      <description>&lt;P&gt;Thanks. I found the setting in the .ini file and got it to work how I want it.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2010 23:38:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831943#M4862786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-13T23:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Table/Column name case</title>
      <link>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831944#M4862787</link>
      <description>&lt;P&gt;@Roland: For future users that have this problem, can you tell everyone what the name of the setting was and what change you made? - Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2010 02:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831944#M4862787</guid>
      <dc:creator>MarkCulp</dc:creator>
      <dc:date>2010-11-14T02:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table/Column name case</title>
      <link>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831941#M4862784</link>
      <description>&lt;P&gt;A co-worker of mine just solved this issue.&lt;/P&gt;
&lt;P&gt;Step 1: Find the PowerBuilder initialization file.&lt;/P&gt;
&lt;P&gt;in PowerBuilder 10:&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;C:&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Program&lt;/SPAN&gt; &lt;SPAN class="n"&gt;Files&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n"&gt;x86&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Sybase&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Shared&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;PowerBuilder&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;pbodb100&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;ini&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;in PowerBuilder 12:&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;C:&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Users&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="p"&gt;[&lt;/SPAN&gt;&lt;SPAN class="n"&gt;username&lt;/SPAN&gt;&lt;SPAN class="p"&gt;]&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;AppData&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Local&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Sybase&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;PowerBuilder&lt;/SPAN&gt; &lt;SPAN class="mf"&gt;12.0&lt;/SPAN&gt;&lt;SPAN class="o"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="n"&gt;pbodb120&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;ini&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;Put this close to the top of the file.&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="k"&gt;[SQL Anywhere]&lt;/SPAN&gt;
&lt;SPAN class="na"&gt;PBTableOwner&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'NO'&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;The trick is to put it in "the right" section. By doing it this way you create the right section.&lt;/P&gt;
&lt;P&gt;We're skipping 11 and didn't use 7,8 or 9, so those are left as an exercise to the reader.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2011 16:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831941#M4862784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-21T16:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table/Column name case</title>
      <link>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831945#M4862788</link>
      <description>&lt;P&gt;Well, I'm not familiar with PB - but the fact that an entry &lt;EM&gt;"PBTableOwner"&lt;/EM&gt; has influence on the case in which table/column names are displayed seems mysterious to me ... funky stuff, for sure:)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2011 17:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/table-column-name-case/qaa-p/13831945#M4862788</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2011-06-21T17:09:28Z</dc:date>
    </item>
  </channel>
</rss>

