Viewing 4 posts - 1 through 4 (of 4 total)
I completely agree with you, but in this case, the sort order will not be changeable by the user (ever), and there will only ever be one sort order. If...
January 13, 2013 at 4:08 pm
Thanks, I actually do have such a table (it translates status id to name and description), so its pretty easy to just add another column with the sort order. Thanks...
January 13, 2013 at 11:06 am
Thanks, that looks great. However, the number can become 2 decimal places, so I thought something like:
select ('S'+CAST ([statusId] AS VARCHAR(255))) as sid from tbl_xenix
order by CHARINDEX(sid,'S5S4')
but it says 'sid'...
January 12, 2013 at 5:04 pm
So which ones are you stuck on? Just 7 and 8?
I don't see why you need to use OR, just AND...
Surely something like:
SELECT * from table
WHERE NOT (clinic_spec...
January 12, 2013 at 4:39 pm
Viewing 4 posts - 1 through 4 (of 4 total)