Viewing 15 posts - 11,896 through 11,910 (of 14,953 total)
Glad you resolved it.
September 26, 2008 at 2:31 pm
No clue why you got it. Maybe a job ported over from SQL 2000 and with something messed up by that?
September 26, 2008 at 2:29 pm
On the dialog box on jobs, that shows steps and status. The jobs data in the summary view doesn't update except when you click "Refresh". The pop-up one...
September 26, 2008 at 2:26 pm
Lloyd Harrison (9/26/2008)
How do you get around Delete Cascade when there are more that 2 tables involved without a trigger? is there a way in 2008?Thanks
Like this:
create table DTest1...
September 26, 2008 at 1:10 pm
That trigger looks like it should work, at least at first glance. Can you tell me what you're trying to resolve with it? Does it give you an...
September 26, 2008 at 12:41 pm
The first thing to do, actually, is to get that cursor out of the trigger. It calls a proc, and I'm sure you can make that proc into a...
September 26, 2008 at 12:38 pm
The most common reason nested views end up slow is because of returning unused rows and columns.
If, for example, you have a view for:
create view MyView1
as
select MyTable1.PersonID, FirstName, LastName, DateOfBirth,...
September 26, 2008 at 12:33 pm
chileu17 (9/26/2008)
Jerry Hung (9/26/2008)
How much was the fragmentation %? I wonder if REBUILD (instead of REORGANIZE) would've been quicker
Was this tested in other environments to estimate the...
September 26, 2008 at 12:22 pm
If you actually have enough rows in the table variable to justify an index (which means over 1000 if I remember correctly), then you're better off using a temp table...
September 26, 2008 at 12:14 pm
Why all the multiplying in the calculation? Do you have multiples of the same error?
I'm used to seeing stuff like this turned into a flat query and then Sum()...
September 26, 2008 at 12:06 pm
I haven't found the dependencies data in SQL Server to be very reliable. If someone change's an object's name, it messes all of that up.
September 26, 2008 at 12:02 pm
Including that in the Where clause should at least reduce the amount of logging overhead from the update, since less rows will be logged. I generally include that kind...
September 26, 2008 at 11:59 am
Check the RPC settings on both machines.
September 26, 2008 at 11:49 am
J (9/25/2008)
About using singular names for tables:Good idea.
That name is then suitable for constructs such as
ForEach Officer ...
Looks pretty sorry when it is
ForEach Officers.
In that one case, yes,...
September 26, 2008 at 11:47 am
Viewing 15 posts - 11,896 through 11,910 (of 14,953 total)