Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 escaped charactor

Author  Topic 

acdacd
Yak Posting Veteran

63 Posts

Posted - 2005-08-21 : 13:24:46
The orginal sql: where Title like '%ABC%'

in dynamica sql (ie the sql is within a string), how to escape the ['] and [%]

be a hardworking people!!

Kristen
Test

22859 Posts

Posted - 2005-08-21 : 14:57:11
where Title like '\%ABC\%' ESCAPE '\'

Kristen
Go to Top of Page
   

- Advertisement -