Viewing 15 posts - 6,946 through 6,960 (of 18,926 total)
You could always use pivot.
But I don't find case to be hard to read.
March 30, 2011 at 6:54 am
Maybe it's a record, but I'd still like to know how it got fixed (if it ever did).
March 30, 2011 at 5:50 am
... and Gail is the one I would call to save my life with a problem like this. Can't ask for a better consultant.
Good luck!
March 30, 2011 at 5:32 am
LutzM (3/29/2011)
20. How to sum a column and make rename is something?
Please ask your tutor to rephrase this question. It will make it easier for you to google for an...
March 29, 2011 at 10:54 am
What happens when there's a < in the text?
March 29, 2011 at 10:40 am
Easiest is to use sp or parameterized queries.
I've had to take another path once in which case I made sure to double the apostrophes as well so they couldn't end...
March 29, 2011 at 10:22 am
I'd do while @@rowcount <> 0 and flush the exists.
I'd do a checkpoint every X loops.
I'd insert a waitfor for a coouple seconds so that transactions can run between loops.
However,...
March 29, 2011 at 9:53 am
We're not doing your homework, exam or interview for you.
Do the work yourself.
March 29, 2011 at 8:49 am
Seems clear enough to me. As longs as it runs in ms now I think you'll be fine. I wouldn't tune this any further unless this query...
March 29, 2011 at 8:38 am
Null is a "value". So it can be used in an index.
"value" is very loose here :w00t:.
It makes sens to use an index there if it helps that query...
March 29, 2011 at 8:15 am
And yes you need to had insert into before the final select.
I consider that step gravy since I don't know your data and not 100% sure that this is what...
March 29, 2011 at 7:58 am
It's a table with only 1 column. I have all numbers from 1 to 30 000 in there.
March 29, 2011 at 7:57 am
Just to disagree even more, here's a little log file I kept while I was converting @t to #t. It's starts with the baseline at 4+ M reads (after...
March 29, 2011 at 7:54 am
;WITH CTE_Names (name, Rank, Tickets) AS (
SELECT TOP 100
name
, ROW_NUMBER() OVER ( ORDER BY Name ) AS Rank
, 101 - ROW_NUMBER() OVER...
March 29, 2011 at 7:45 am
Viewing 15 posts - 6,946 through 6,960 (of 18,926 total)