General information
Forum:
Microsoft SQL Server
Title:
Compare a varchar values
Environment versions
SQL Server:
SQL Server 2000
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only