Viewing 15 posts - 1 through 15 (of 34 total)
Could someone post the link for nominating someone?
May 29, 2008 at 12:19 am
Saw that this was still unanswered...
For good measure, here's what I found.
http://support.microsoft.com/kb/555686
AND/OR
June 21, 2007 at 10:07 am
Congrats on the successful migration. However, since the migration, I haven't been receiving my daily newsletter. Did this service stop?
-Andy Brown
March 30, 2007 at 11:14 am
Unfortunately, I've run out of time...
But here's a cleaner version of the script, which should help others help you.
I may have more time later as well.
------ BEGIN CODE ------
IF OBJECT_ID('tempdb..#tblBalance')...
December 21, 2006 at 4:48 pm
Second...
ISNUMERIC will return 0 for '' AND NULL values, so there's no need to check for '' in the where statements...
Also, there's no need to check your @SerialNo variables again...
December 21, 2006 at 4:39 pm
I think there is room for a lot of improvement.
Let's start by reducing the number of reads from 4 queries down to 1.
Replace "SET @SerialNoFrom = (...", "SET @SerialNoTo =...
December 21, 2006 at 4:16 pm
These positions are still available.
Do you have what it takes?
December 21, 2006 at 3:34 pm
After opening the connection, but before running your long query, store the results from this in a variable in your app/report: @@SPID
@@SPID is the current SQL thread that is executing...
November 29, 2006 at 11:37 pm
You need to actually change the Logical name of the database, not the physical data file name.
Are you attaching the db using a GUI (Management Studio, or the Express GUI),...
November 29, 2006 at 11:08 pm
Well, the IF ... ELSE way I listed above will work without being dynamic. The only issue with it is that you have to explicitly code out each option. While...
November 21, 2006 at 8:11 am
Your way is fine, but it will cause a scan...
One way to avoid the scan is to do the following:
IF @p1 is null and @p2 is null and @p3 is...
November 20, 2006 at 10:43 pm
Because you're still searching for where @EmployeeId IS NULL.
You could say this...
------
IF COALESCE(@EmployeeId,0) = 0 --In case the calling app. is defaulting the variable to zero.
SELECT...
November 20, 2006 at 2:50 pm
The following is from BOL for use in CREATE INDEX ... WITH ...:
PAD_INDEX = { ON | OFF }
Specifies index padding. The default is OFF.
ON
The percentage of free space...
November 16, 2006 at 2:49 pm
In 2005, you have the option to rebuild indexes online as well as offline. Books Online provides a ton of information for how to do this.
November 16, 2006 at 2:10 pm
Did someone enable/force SSL encryption on the server without installing a certificate, or is the installed certificate expired/not able to validate? Check the Server Network Utility (SQL 2000) or...
November 15, 2006 at 7:27 pm
Viewing 15 posts - 1 through 15 (of 34 total)