Viewing 15 posts - 12,721 through 12,735 (of 14,953 total)
It depends.
What if there are ties? Do you want the fifth record, even if there are five ties for highest?
July 21, 2008 at 10:37 am
Two questions:
1. How many tables are you adding triggers to? Dozens? Hundreds? Five?
2. Why a "generic" trigger? Why not a specific trigger per table?
July 21, 2008 at 10:34 am
Generally speaking, SQL Server uses tempdb instead of the page file.
July 21, 2008 at 10:15 am
Are both servers on the same service pack/update level?
July 21, 2008 at 10:12 am
Insert all of your data into temp tables. Return them at the end of the Try block. You won't reach that if you end up in the Catch...
July 21, 2008 at 10:09 am
It's not a bug in SQL Server. It's a network issue.
July 21, 2008 at 9:08 am
If they don't resolve the problem, let me know, and I'll gladly clarify them for you.
July 21, 2008 at 8:58 am
Chad Crawford (7/18/2008)
July 21, 2008 at 8:51 am
A) The forum can take attachments.
B) If you click my name in the forum (where it says, "GSquared" above and to the left of my posts), there's an option to...
July 21, 2008 at 8:44 am
Create a dev/test copy of your database, change the compatibility level to 90, then run this on it:
use [database] -- Please remember to fill this in!!
go
dbcc UPDATEUSAGE (0) WITH...
July 18, 2008 at 2:18 pm
DBA (7/18/2008)
what parameters should i use for the tally table? can i do it without creating one?
You can avoid creating one, but I recommend creating one. Highly recommend it....
July 18, 2008 at 2:12 pm
Excel, like SQL, stores dates and times as integers (dates) and decimals (time).
For example, right now, on my computer, getdate() = 39645.66645625
That's the number of days and the number of...
July 18, 2008 at 2:04 pm
Well, I hadn't played with that, so I tested it.
declare @NV nvarchar(max), @V varchar(max)
select @NV = NChar(0641), @V = 'a'
select @NV, @V
select @NV = @NV + @V
select @NV
The result of...
July 18, 2008 at 1:59 pm
The nested Case statements might also be a minor problem. Look at changing to a complex Case with multiple conditions instead of multiple nested Cases.
Try this, see if it...
July 18, 2008 at 1:50 pm
Viewing 15 posts - 12,721 through 12,735 (of 14,953 total)