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
 SQL Server Development (2000)
 Searching Charachter ## In Database

Author  Topic 

jitudavda
Starting Member

11 Posts

Posted - 2001-07-05 : 03:33:53
Hi
I'm facing problem in my search

Select * from products where ProductID like '##P3%'

Event I tried following statement

Select * from products where ProductID='##P3%'

My output requirement is the list of all the product details which are exact or having last initial id as the supplied productID.
I mean if I supplied ##P3 I require all the products which has productid =##P3 or ##P32 or ##P3A4

At Present I'm getting error sometime and some time no results
I think the problem may be '#'

do anyone has suggestions.

Thanks

Jitu

   

- Advertisement -