<?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: UUIDValue into database in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848679#M4879522</link>
    <description>&lt;P&gt;How is the value of the UNIQUEIDENTIFIER column displayed, i.e. what is returned when you do the SELECT without a WHERE clause?&lt;/P&gt;
&lt;P&gt;That being said, if the column is declared as UNIQUEIDENTIFIER, the string comparison with or without hyphens should work. (It won't work when id is some kind of (VAR)CHAR datatype.)&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2011 05:26:35 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2011-09-20T05:26:35Z</dc:date>
    <item>
      <title>UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaq-p/13848676</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a UUIDValue column, and I have to execute a query where in the condition there's specified a UUIDValue value. The problem is that I don't know how to specify this value correctly.
I tried to use the UUIDValue value like a string, writing it between quotes:&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="o"&gt;*&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt; &lt;SPAN class="n"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;id&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'ca9ae8ad-2040-4890-bca5-c93b54770516'&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;with poor results.
Then I tried without quotes, without dashes, but nothing!&lt;/P&gt;
&lt;P&gt;Have you got any idea?&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;G.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 04:38:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaq-p/13848676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T04:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848679#M4879522</link>
      <description>&lt;P&gt;How is the value of the UNIQUEIDENTIFIER column displayed, i.e. what is returned when you do the SELECT without a WHERE clause?&lt;/P&gt;
&lt;P&gt;That being said, if the column is declared as UNIQUEIDENTIFIER, the string comparison with or without hyphens should work. (It won't work when id is some kind of (VAR)CHAR datatype.)&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 05:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848679#M4879522</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2011-09-20T05:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848680#M4879523</link>
      <description>&lt;P&gt;The column is UNIQUEIDENTIFIER and the query doesn't work with or without hyphens&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 05:38:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848680#M4879523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T05:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848681#M4879524</link>
      <description>&lt;P&gt;What about my question? What does the query return?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 06:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848681#M4879524</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2011-09-20T06:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848682#M4879525</link>
      <description>&lt;P&gt;I would expect that: &lt;/P&gt;
&lt;P&gt;SELECT * FROM myTable WHERE id='ca9ae8ad20404890bca5c93b54770516'&lt;/P&gt;
&lt;P&gt;should work&lt;/P&gt;
&lt;P&gt;Can you provide a version number for SQLA&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 06:33:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848682#M4879525</guid>
      <dc:creator>MCMartin</dc:creator>
      <dc:date>2011-09-20T06:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848683#M4879526</link>
      <description>&lt;P&gt;BTW: Is this somewhat related to &lt;A href="http://sqlanywhere-forum.sap.com/questions/7375"&gt;this question&lt;/A&gt; - which seems not to be fully answered, as well?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 07:01:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848683#M4879526</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2011-09-20T07:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848684#M4879527</link>
      <description>&lt;P&gt;Yes, the problem is similar.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 07:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848684#M4879527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T07:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848685#M4879528</link>
      <description>&lt;P&gt;it'd work if id is VARCHAR, but id is UNIQUEIDENTIFIER&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 07:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848685#M4879528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T07:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848686#M4879529</link>
      <description>&lt;P&gt;The query&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;    &lt;SPAN class="n"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="n"&gt;id&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;return UNIQUEIDENTIFIER values&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 08:00:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848686#M4879529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T08:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848687#M4879530</link>
      <description>&lt;P&gt;What version and build of the software are you running?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 08:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848687#M4879530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T08:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848688#M4879531</link>
      <description>&lt;P&gt;Sybase Central 6.1.0.6420 and I use plug-in MobiLink12 12.0.1.3152&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 08:10:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848688#M4879531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T08:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848689#M4879532</link>
      <description>&lt;P&gt;Please describe more fully your usage scenario (steps to reproduce).  Are you trying to write MobiLink synchronization scripts?  Are you using dbisql launched from Sybase Central?  Can you post the schema of the table?&lt;/P&gt;
&lt;P&gt;What do you mean by "poor results"?  (Wrong rows returned, error, bad plan, etc)&lt;/P&gt;
&lt;P&gt;Have you tried to use a binary constant?&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="o"&gt;*&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt; &lt;SPAN class="n"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;id&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="mh"&gt;0xca9ae8ad20404890bca5c93b54770516&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Sep 2011 08:37:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848689#M4879532</guid>
      <dc:creator>philippefbertrand</dc:creator>
      <dc:date>2011-09-20T08:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848690#M4879533</link>
      <description>&lt;P&gt;I want execute a query to update a value into database. There are some condition in this query, and one of this is id (UNIQUEIDENTIFIER).
Within the application are already running many queries, so I don't think there are communication problem.
The problem is the type of value that I put into the query condition.
If I use the query:&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt; &lt;SPAN class="n"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="o"&gt;*&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt; &lt;SPAN class="n"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;id&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="n"&gt;ca9ae8ad&lt;/SPAN&gt;&lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="mi"&gt;2040&lt;/SPAN&gt;&lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="mi"&gt;4890&lt;/SPAN&gt;&lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="n"&gt;bca5&lt;/SPAN&gt;&lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="n"&gt;c93b54770516&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;It returned the error:&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt; &lt;SPAN class="n"&gt;SQLCODE&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=-&lt;/SPAN&gt;&lt;SPAN class="mi"&gt;143&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;ODBC&lt;/SPAN&gt; &lt;SPAN class="mi"&gt;3&lt;/SPAN&gt; &lt;SPAN class="n"&gt;State&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s"&gt;"42S22"&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;otherwise, if I use the query (with id like a VARCHAR):&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt; &lt;SPAN class="n"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="o"&gt;*&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt; &lt;SPAN class="n"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;id&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'ca9ae8ad-2040-4890-bca5-c93b54770516'&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;the result is a empty row.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 09:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848690#M4879533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T09:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848691#M4879534</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;id=ca9ae8ad-2040-4890-bca5-c93b54770516&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The -143 error clearly states that ca9ae8ad is treated as an identifier, and there's no such column (or global variable) here.&lt;/P&gt;
&lt;P&gt;As Martin has stated, you have to enclose the UUID value in quotes as it is a string. So what does&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="o"&gt;*&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt; &lt;SPAN class="n"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;id&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'ca9ae8ad20404890bca5c93b54770516'&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;yield (i.e. omitting the hyphens)?&lt;/P&gt;
&lt;P&gt;Or filtering on a queried id value like this&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="o"&gt;*&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt; &lt;SPAN class="n"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;id&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="n"&gt;MAX&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n"&gt;id&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt; &lt;SPAN class="n"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Sep 2011 09:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848691#M4879534</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2011-09-20T09:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848677#M4879520</link>
      <description>&lt;P&gt;You could try the following query to find out whether string values are converted correctly to UNIQUEIDENTIFIER values:&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="k"&gt;select&lt;/SPAN&gt; &lt;SPAN class="mi"&gt;1&lt;/SPAN&gt; &lt;SPAN class="k"&gt;from&lt;/SPAN&gt; &lt;SPAN class="n"&gt;dummy&lt;/SPAN&gt;
&lt;SPAN class="k"&gt;where&lt;/SPAN&gt; &lt;SPAN class="k"&gt;Cast&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;'ca9ae8ad-2040-4890-bca5-c93b54770516'&lt;/SPAN&gt; &lt;SPAN class="k"&gt;as&lt;/SPAN&gt; &lt;SPAN class="n"&gt;UNIQUEIDENTIFIER&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt;
   &lt;SPAN class="s1"&gt;'ca9ae8ad20404890bca5c93b54770516'&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;That should yield 1 (and does with v12.0.1.3324). Trying with omitted/added hyphens should work as well:&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="k"&gt;select&lt;/SPAN&gt; &lt;SPAN class="mi"&gt;1&lt;/SPAN&gt; &lt;SPAN class="k"&gt;from&lt;/SPAN&gt; &lt;SPAN class="n"&gt;dummy&lt;/SPAN&gt;
&lt;SPAN class="k"&gt;where&lt;/SPAN&gt; &lt;SPAN class="k"&gt;Cast&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;'ca9ae8ad20404890bca5c93b54770516'&lt;/SPAN&gt; &lt;SPAN class="k"&gt;as&lt;/SPAN&gt; &lt;SPAN class="n"&gt;UNIQUEIDENTIFIER&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt;
   &lt;SPAN class="s1"&gt;'ca9ae8ad-2040-4890-bca5-c93b54770516'&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Sep 2011 09:38:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848677#M4879520</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2011-09-20T09:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848692#M4879535</link>
      <description>&lt;P&gt;I already executed both queries, but the result is the same: empty row.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 09:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848692#M4879535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T09:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848678#M4879521</link>
      <description>&lt;P&gt;I just tried the following with 12.0.1.3423, on Windows x64, and it seemed to be successful:&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="o"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="n"&gt;ulinit&lt;/SPAN&gt; &lt;SPAN class="n"&gt;ultest&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;udb&lt;/SPAN&gt;
&lt;SPAN class="o"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="n"&gt;dbisql&lt;/SPAN&gt; &lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="n"&gt;ul&lt;/SPAN&gt; &lt;SPAN class="o"&gt;-&lt;/SPAN&gt;&lt;SPAN class="n"&gt;c&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"UID=dba;PWD=sql;UDB=ultest.udb"&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;SQL Code:&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="k"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class="k"&gt;TABLE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;
  &lt;SPAN class="n"&gt;id&lt;/SPAN&gt; &lt;SPAN class="n"&gt;uniqueidentifier&lt;/SPAN&gt; &lt;SPAN class="k"&gt;primary&lt;/SPAN&gt; &lt;SPAN class="k"&gt;key&lt;/SPAN&gt; &lt;SPAN class="k"&gt;default&lt;/SPAN&gt; &lt;SPAN class="n"&gt;newid&lt;/SPAN&gt;&lt;SPAN class="p"&gt;()&lt;/SPAN&gt;
&lt;SPAN class="p"&gt;);&lt;/SPAN&gt;
&lt;SPAN class="k"&gt;INSERT&lt;/SPAN&gt; &lt;SPAN class="k"&gt;INTO&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="k"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="o"&gt;*&lt;/SPAN&gt; &lt;SPAN class="k"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="c1"&gt;-- (Look at the results shown)&lt;/SPAN&gt;
&lt;SPAN class="k"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="o"&gt;*&lt;/SPAN&gt; &lt;SPAN class="k"&gt;FROM&lt;/SPAN&gt; &lt;SPAN class="n"&gt;myTable&lt;/SPAN&gt; &lt;SPAN class="k"&gt;WHERE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;id&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;'2E9D76B0-F327-4633-A4D8-10DAB9794B8F'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="c1"&gt;--    (1 Rows)&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Sep 2011 11:29:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848678#M4879521</guid>
      <dc:creator>jeff_albion</dc:creator>
      <dc:date>2011-09-20T11:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848693#M4879536</link>
      <description>&lt;P&gt;Where are you executing this update?  You stated you were using the MobiLink plugin.  Is it a consolidated database (what kind of db then?) or is it a remote database (UltraLite, SQL Anywhere?) you are modifying?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 11:34:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848693#M4879536</guid>
      <dc:creator>philippefbertrand</dc:creator>
      <dc:date>2011-09-20T11:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848694#M4879537</link>
      <description>&lt;P&gt;I have a *.udb file and I try to execute this query in 2 different ways:
1- From Android application.
2- From MobiLink connection in Sybase Central.&lt;/P&gt;
&lt;P&gt;I can execute SELECT, INSERT and UPDATE query in all tables of database. The ONLY problem is when I put a UUIDValue value into a condition of a query. Please Could you kindly supply me the query I should use for both points (1. and 2.)?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 11:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848694#M4879537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-20T11:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: UUIDValue into database</title>
      <link>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848695#M4879538</link>
      <description>&lt;P&gt;If I didn't make myself clear, please let me know? I'm a newbie in sqlAnywhere and this is quite urgert.&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;G.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 03:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/uuidvalue-into-database/qaa-p/13848695#M4879538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-21T03:54:47Z</dc:date>
    </item>
  </channel>
</rss>

