Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compare a varchar values
Message
From
29/08/2006 11:04:59
 
 
To
29/08/2006 09:16:14
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01149317
Message ID:
01149379
Views:
6
>i have a trouble comparing tow varchar value, for example in my table of product the products id is varchar and i am comparing with 1 like this pr.id=1 but the query analazer return to me any product that have a 1 for example '11','13','1','21'.... i need to know if there is a form that i compare de exact values.

Try pr.id = '1'
Thank You

Rollin Burr

Politicians and diapers have one thing in common. They should both be changed regularly, and for the same reason.
Previous
Reply
Map
View

Click here to load this message in the networking platform