Viewing 15 posts - 9,631 through 9,645 (of 26,489 total)
fatish.scott (9/12/2012)
DECLARE @sql NVARCHAR(4000)
SET @sql = 'SELECT * FROM...
September 12, 2012 at 9:46 am
And minimize any logic in the triggers. They have to be fast and accurate. Remember, if the trigger fails so does the transaction that fires it.
September 12, 2012 at 8:56 am
Lynn Pettis (9/11/2012)
declare @TestDate date = '2012-09-11';
with SevenRows(n) as (select row_number() over (order by (select null)) - 1...
September 12, 2012 at 7:39 am
Luis Cazares (9/12/2012)
There are not Table Value Constructors.
Is that what you meant?
It can be fixed by
declare @TestDate date = '2012-09-12';
with SevenRows(n) as (
...
September 12, 2012 at 7:34 am
You need to remember that indexid = 1 is the clustered index, which means the table and the data itself. You can lose data and you need to be...
September 11, 2012 at 3:53 pm
That is up to you. Personally, unless the CU addresses a problem that I need to resolve, I don;t apply them. CU's do not (or at least didn't in...
September 11, 2012 at 3:08 pm
Plus, we only have part of the problem. We should wait for the other shoe to drop and see how this is going to be used in the procedure....
September 11, 2012 at 2:19 pm
GSquared (9/11/2012)
Lynn Pettis (9/11/2012)
declare @TestDate date = '2012-09-11';
with SevenRows(n) as (select row_number() over (order by (select null)) -...
September 11, 2012 at 2:17 pm
Here is a bit of code that returns what you are looking for:
declare @TestDate date = '2012-09-11';
with SevenRows(n) as (select row_number() over (order by (select null)) - 1 from (values...
September 11, 2012 at 2:09 pm
simon4132-806507 (9/11/2012)
Simply because it works.
'if it aint broke don't fix it'
This is a heavily used production system. To upgrade you have to pause mirroring and disconnect the mirror. If we...
September 11, 2012 at 1:38 pm
oscarooko (9/11/2012)
Any ideas on what...
September 11, 2012 at 1:33 pm
CELKO (9/11/2012)
ORDER BY...
September 11, 2012 at 1:27 pm
My question is why do you want to keep the production system at SP2?
September 11, 2012 at 1:17 pm
The DELETE will be doing a CLUSTERED INDEX (i.e. table) scan. It won't use the index on LogTime.
Just so you know.
September 11, 2012 at 1:12 pm
Appreciate you telling us what indexes are defined, but it would be nice to see the actual definitions.
September 11, 2012 at 12:04 pm
Viewing 15 posts - 9,631 through 9,645 (of 26,489 total)