Viewing 15 posts - 12,736 through 12,750 (of 15,379 total)
Something like this should get you there.
select * from @t c
WHERE c.name LIKE '%[0-9]%'
order by cast(replace(c.name, 'count_', '') as int)
March 19, 2012 at 7:07 am
That is because you are ordering by characters. The only way you will be able to get your results in the order you want is to order by something else,...
March 19, 2012 at 7:05 am
I would tend to lean on the side of preferring tabs to spaces. I have worked in some environments where tabs would retain spaces like you mention but everybody had...
March 18, 2012 at 10:43 pm
That is really the definition of how foreign keys work. The value in the foreign key column MUST exist in the original table. As Lowell said you either need the...
March 16, 2012 at 9:56 pm
Hi and welcome to SSC. Please take a look at the first link in my signature for best practices on posting questions. It would make this lot easier to answer...
March 16, 2012 at 9:54 pm
duplicate post. Please direct all replies here. http://www.sqlservercentral.com/Forums/Topic1268345-364-1.aspx
March 16, 2012 at 9:48 pm
Lynn Pettis (3/16/2012)
er.sivaganesh (3/16/2012)
March 16, 2012 at 2:37 pm
patrickmcginnis59 (3/16/2012)
Sean Lange (3/16/2012)
patrickmcginnis59 (3/16/2012)
jeff.mason (3/16/2012)
patrickmcginnis59 (3/16/2012)
Sean Lange (3/16/2012)
March 16, 2012 at 12:57 pm
patrickmcginnis59 (3/16/2012)
jeff.mason (3/16/2012)
patrickmcginnis59 (3/16/2012)
Sean Lange (3/16/2012)
March 16, 2012 at 12:44 pm
Lynn Pettis (3/16/2012)
Sean Lange (3/16/2012)
March 16, 2012 at 8:24 am
I would recommend skipping the local installation and just the online version. There are frequent updates to the online version, your local installed version will not have those updates.
March 16, 2012 at 7:58 am
Nice easy question. Unfortunately the choices are worded such that none of them are really correct. The biggest issue is this is testing syntax on a construct that we strive...
March 16, 2012 at 7:34 am
Duplicate post, please direct all replies here. http://www.sqlservercentral.com/Forums/Topic1266908-338-1.aspx
March 14, 2012 at 12:15 pm
Like stated above you will have to do some string manipulation to remove the last 3 decimal places.
Aside from that the code you posted conflicts with what you are...
March 14, 2012 at 12:07 pm
Viewing 15 posts - 12,736 through 12,750 (of 15,379 total)