Microsoft
Software
Hardware
Network
Question : sql: issue checking if character is in number range
hi
i am writing a sql query, and one part i check
case when(h.status in (1,2,3,4,5,6,7,8))
all of these status's have a numerical value except status Q, hence i get
Conversion failed when converting the varchar value 'Q' to data type int.
can i use a convert here ? and if so how would i best implement it
Answer : sql: issue checking if character is in number range
Something like this perhaps:
case when(h.status in ('1', '2', '3', '4', '5', '6', '7', '8'))
Random Solutions
Can you configure integrated/ntlm authentication in the Remote Desktop Client?
browstat on 2008 DC with computer browser service: Unable to Retrieve server list error 1130
Best way to manage development virtual machines
Move database in exchange 2007
Access 2007 VBA Report onFormat ignored on open
How can I specify decimal places in aspx gridview with autogenerated columns
Access problem after installing
maxclient Id from table
Problem with error 2465
Linking Outlook Calendar into Access