Viewing 15 posts - 4,291 through 4,305 (of 13,459 total)
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...
Lowell
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...
Lowell
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,...
Lowell
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...
Lowell
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 ,...
Lowell
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...
Lowell
December 3, 2012 at 6:10 am
you just need to add an alias, sorry:
select * from openquery([abc],'SELECT
...
Lowell
November 30, 2012 at 2:49 pm
crowellc (11/30/2012)
Lowell
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...
Lowell
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...
Lowell
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.
Lowell
November 29, 2012 at 12:10 pm
davas (11/29/2012)
Just wondered why the sp_spaceused...
Lowell
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...
Lowell
November 29, 2012 at 9:33 am
for the individual emails, do they all have the same error message?
maybe something changed outside of your control, like a firewall blocking port 25 traffic, a DNS error or something...
Lowell
November 29, 2012 at 9:01 am
tantcu (11/28/2012)
Do you know how to do it with macro?
any macro is going to have too many specifics...you have to build the macro before you can use it, and that...
Lowell
November 28, 2012 at 2:59 pm
Viewing 15 posts - 4,291 through 4,305 (of 13,459 total)