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
Program constantsly closes and has "encountered error report"
T SQL Update table.col based on several criteria
3 Cascading Combo boxes Working and NotInList Working But How do I Input Data from another Form
What is Bitlocker ion Vista and windows 2003. How different are these in both OS.
Failed Update KB967723 Windows Server x64 2008 Standard Sp2
WinDBG - Need Help Using
indexing a varchar field
USING dm_db_index_physical_stats<wbr /> effectively
drop down list in access not always working
getting "Unknown" error on Exchange Edge ADAM service