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
Importing Text files into Access VBA
Do I have to use 192.168.x.x for SBS2008
Create email is a users Exchange 2010 maibox
CWA 401.2 Error
How do i use DOS/Run to attach a file and email using mailto: ?
DFS system deleting files?
Microsoft access - Dirty
Urgent System.UnauthorizedAccessE<wbr />xception
2 questions about messagequeue
Select multiple files at a time for uploading in asp.net