Viewing 15 posts - 91 through 105 (of 105 total)
I use this stuff:
http://vyaskn.tripod.com/server_side_tracing_in_sql_server.htm
October 6, 2010 at 8:24 am
kdbarrett (10/6/2010)
Is there a function in SQL somewhere that I'm not aware of? I wonder if the software generating the data is doing this?
Nope, and I believe it will...
October 6, 2010 at 7:31 am
Executable code rather than screenshots would be much more useful too.
October 6, 2010 at 7:16 am
sqlbuddy123 (9/17/2010)
September 17, 2010 at 9:42 am
You can do this in SQL, but SQL is not designed to produce this sort of output (lots of reasons, interesting if you like relational theory) and the code can...
September 17, 2010 at 9:37 am
Lowell (9/17/2010)
September 17, 2010 at 7:53 am
Out of curiosity, why do you expect Gail to write something off the cuff that would be better than the articles she referenced? She is very good (I know her...
September 17, 2010 at 7:49 am
IF LEN(@string) - LEN(REPLACE(@string, '*', '')) >= 2
BEGIN
RETURN LEN(@string) - CHARINDEX('*', REVERSE(@string)) + 1
END
September 17, 2010 at 3:19 am
It is the SQL Server Bitwise OR operator.
September 17, 2010 at 3:03 am
And here it is. Nasty, eh?
SELECT TOP 6
the_output = CASE
...
September 17, 2010 at 3:00 am
How come you don't want to use UNION? It is possible to write a query that does this as a set without UNION but it is very contorted.
Is a variable...
September 17, 2010 at 2:56 am
By a complete coincidence the next thing I read after posting was this:
http://blogs.msdn.com/b/craigfr/archive/2006/07/26/679319.aspx
Nested loops don't support ROJs. So there's a reason right there not to use them.
September 16, 2010 at 8:05 am
I only ever use left outer joins, never right.
The only exception I know of that I might use a right outer join (and this is theoretical only, I've never...
September 16, 2010 at 7:59 am
I don't about the specifics of your scenario, but in general terms set based is superior to a cursor for this: SELECT score ...
September 15, 2010 at 9:36 am
I agree with Steve - I'm not sure you have paid full attention to the SQL in the article. He is not suggesting removing order by, but creating indexes to...
September 15, 2010 at 3:17 am
Viewing 15 posts - 91 through 105 (of 105 total)