Viewing 15 posts - 4,291 through 4,305 (of 13,464 total)
this is what i would suggest first thing, since it's not a bad thing to update statistics:
DECLARE @Exec VARCHAR(MAX)
SELECT @Exec = ''
SELECT @Exec = 'UPDATE STATISTICS ' + QUOTENAME(schema_name(schema_id))+ '.'...
December 3, 2012 at 1:11 pm
umm... one nic card can listen to multiple IP addresses, right? so there's no need for 6 nic cards to watch 6 ip addresses, if that's what they are thinking.
here's...
December 3, 2012 at 1:08 pm
glad it's working for you!
one more thing to consider:
if you create a new database via a RESTORE, that does not trigger the CREATE_DATABASE event. that triggers the event AUDIT_BACKUP_RESTORE_EVENT, which...
December 3, 2012 at 9:55 am
you need to provide more details; the actual execution plan would tell us exactly what happened,a nd we could identify the items in the execution plan that is causing performance...
December 3, 2012 at 8:14 am
I'm sure you have to use extended events, specifically on the
AUDIT_BACKUP_RESTORE_EVENT
I did something as a prototype that did a few things on my dev server;
if you restored a database,...
December 3, 2012 at 6:55 am
yeah, i just scripted a CREATE DATABASE from the GUI; you can see it does a bunch of alters for the properties after it does the create:
CREATE DATABASE [Example] ON...
December 3, 2012 at 6:45 am
the event data is going to have the new database name...it's already been changed by thetime you get to the ddl trigger, unless you force a rollback.
you could rollback ,...
December 3, 2012 at 6:30 am
arunyadav007 pointed you in the right direction, here's a code model for your trigger.
I',m not sure if you are just inserting the changes, updating existing, or what;
i'd think there needs...
December 3, 2012 at 6:10 am
you just need to add an alias, sorry:
select * from openquery([abc],'SELECT
...
November 30, 2012 at 2:49 pm
crowellc (11/30/2012)
November 30, 2012 at 2:46 pm
in that case, assuming you wanted the value as columns again like your first query, it would go like this...notice i did a simple cross join, on a table we...
November 30, 2012 at 12:55 pm
ugg that is tough; you might even have columns that don't store the the number as a varchar without dashes 9and leave the presentation layer to dash-ify it, or even...
November 29, 2012 at 1:27 pm
you are correct;
there is no way to rename an instance; you have to install a new one with the new name, and drop the old when when you are ready.
November 29, 2012 at 12:10 pm
davas (11/29/2012)
Just wondered why the sp_spaceused...
November 29, 2012 at 9:48 am
A HEAP table (without a clustered index) has a table size which includes the space of all the deleted rows, that ever existed, EVER.
so if you insert and delete a...
November 29, 2012 at 9:33 am
Viewing 15 posts - 4,291 through 4,305 (of 13,464 total)