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
Run-Time Error 3155 ODBC-Time Out on a linked table.
Report show's too much data
Stock/Share Portfolio Management
How can I put the file name and a SHORT path at the bottom of my word 2007 documents?
Error #3035 System Resurce Exceeded
CommonDialog control in Access 2007 -- problem
VBA Looping through cells
Create MDE from MDB hangs
Migrating shares from Windows 2003 to 2008
Authentication for OWA in Exchange 2007 fails.