![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 03 Apr 2013 @ 13:54:43 GMT
Anomy.Anom wrote:
If you want to get a single quote in a string you need to use two single quotes, e.g.
SELECT '''bla''' returns 'bla'
Where tablename = '''||TRIM(TempTableName)|| ''' AND databasename=
'''||TRIM(DbName) || ''' ) BB /*snippet 2*/
Dieter
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| | |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||