Viewing 15 posts - 61 through 75 (of 294 total)
Generate Data into a table
without using a loop
Hello all
I have been asked by a co-worker for an answer to the following question.
"How can I efficiently generate a set of around...
February 14, 2009 at 8:42 am
This is a guess, but is Outlook installed on the server? And if so, is it configured correctly?
Dave
February 2, 2009 at 2:31 pm
Lynn Pettis (1/27/2009)
Smendle (1/27/2009)
That can happen on multi-processor systems that SQL is allowed to use.
I am sure this is in response to the following:
I received a private message with a...
January 27, 2009 at 10:00 am
π You'll like this
Hugo's Tally Method first, my hopeless loop second.
[font="Courier New"]
CPU Reads Writes Duration ...
November 7, 2008 at 7:33 am
Excellent. π
I particularly like the date formatting trick. Why didn't I think of that! :w00t:
Many thanks Hugo. I'll run the extract later today and post some stats on...
November 7, 2008 at 3:39 am
Ok, I'm trying to use the tally as a loop.
The problem. In one of our databases we use a table to store among other things a reference (DocumentId) to...
November 6, 2008 at 11:37 am
divison (11/5/2008)
Thanks, David J. -- that'll do it! π...
Thanks again...
No problem π
Here is another handy macro that demonstrates formatting, and tells you the numbers Excel uses for colours as...
November 5, 2008 at 9:43 am
divison (11/5/2008)
...
And I can see it would be useful, for me, to be able to do this kind of Excel formatting from...
November 5, 2008 at 8:42 am
Nice Macro. π
The only thing I'd add to the Sub ColorAlternateDataRows is this line at the start
Application.ScreenUpdating = False
And at the end
Application.ScreenUpdating = True
Then it runs much quicker
HTH
Dave J
November 5, 2008 at 4:48 am
john.steinbeck (11/3/2008)
I couldn't find anything to tell...
November 3, 2008 at 11:28 am
Anoop, from BOL
Starting the Debugger
T-SQL Debugger can only be run from within SQL Query Analyzer. Once started, the debugging interface occupies a window within that application.
Starting the debugger
There are two...
November 3, 2008 at 9:48 am
Anoop
try running
GRANT EXECUTE ON [dbo].[sp_sdidebug] TO [public]
GO
in your master db.
HTH
Dave J
October 28, 2008 at 4:23 am
This is written for, and tested on SQL 2000 I'm afraid. I do not have 2005 so I can't help you there. I assume the xp_sendmail parameters have...
October 6, 2008 at 3:51 am
If you can create a function, you remove the need for a loop, or a tally substitute.
Actually, I created two, append 2 to one of them
CREATE FUNCTION fn_ReturnDiagnosisies
(@p1 varchar(8000))
RETURNS...
September 26, 2008 at 6:11 am
I agree completely. I said "Again, all of the backup files need to be elsewhere too.", meaning NOT on the DB server. π
Here I backup to file...
September 15, 2008 at 11:50 am
Viewing 15 posts - 61 through 75 (of 294 total)