Viewing 8 posts - 1 through 8 (of 8 total)
I confessed! I have used the "DISTINCT" modified.
Why? Because I have to crank out the code ASAP and I don't have the time to worry about the problems in your...
April 6, 2015 at 6:02 am
A trigger in this instance would hardly bring the system to its knees.
A trigger doesn't participate in a SELECT.
The entire article concerns the handling date queries.
I suggested an approach that...
April 29, 2009 at 6:24 am
Hmm... You may suffer a huge performance hit if you use DATEDIFF().
SQL SVR may have to perform a full table scan. Not exactly what one
desires in a production system.
I...
April 28, 2009 at 6:37 am
This code is considerably faster:
Declare @X int
Set @X = 0
Select @X = @X + 1
From master.sys.columns c1
Cross Join master.sys.columns c2
Print @X
April 14, 2009 at 8:44 am
SQL 101 - Always make sure your tables have indexes to avoid full table scans.
Looks as though the DBA and/or developers need a little coaching.
February 3, 2009 at 11:53 am
First, you need to understand your data.
Exactly what makes anyone record the "unique" or desired record?
Does the table have an IDENTITY column or a datetime column
that could be used to...
July 9, 2008 at 11:36 am
Wouldn't sp_makewebtask and sp_runwebtask also work for you?
How about SQL Reporting Services?
June 25, 2008 at 7:40 am
Also to identify users who are using SQL 2005 Studio
Add this program name to the filters
'Microsoft SQL Server Management Studio - Query'
January 17, 2008 at 1:02 pm
Viewing 8 posts - 1 through 8 (of 8 total)