 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Adam Guest
|
Posted: Thu Jul 07, 2005 6:23 pm Post subject: Special characters in timesten db? |
|
|
How do you enter a statement like:
update locations set name = 'bob's room'
I keep getting exceptions on the apostrophe.
Thanks in advance.
Adam
|
|
| Back to top |
|
 |
Lee Fesperman Guest
|
Posted: Thu Jul 07, 2005 6:56 pm Post subject: Re: Special characters in timesten db? |
|
|
Adam wrote:
| Quote: |
How do you enter a statement like:
update locations set name = 'bob's room'
I keep getting exceptions on the apostrophe.
Thanks in advance.
|
For Standard SQL, you double embedded quotes:
update locations set name = 'bob''s room'
See the SQL Tutorial on literals -- http://www.firstsql.com/tutor3.htm#literal.
--
Lee Fesperman, FFE Software, Inc. (http://www.firstsql.com)
==============================================================
* The Ultimate DBMS is here!
* FirstSQL/J Object/Relational DBMS (http://www.firstsql.com)
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|