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
From Combo box in another form.. move to record in another form
Attendance DB
Need to get the guaranteed HWND on startup of a form
How do I deactivated Windows 2008 R2 KMS Key?
How to install SQLServer Standard 2005
how to get single line answer for my query
Site Configured for use with ASP.NET 1.1.4322.573
Search active directory by Date Created
Just mail-enabled a public folder and getting NDR 5.1.6 when trying to send mail to it
SBS2008/Exchange2007/Pop3 Client Errors