Viewing 15 posts - 12,496 through 12,510 (of 39,809 total)
To expand, here's what I'd do:
Create table Logger
( myMessage nvarchar(max)
, DDLStatement nvarchar(max)
, UserName nvarchar(max)
, DatabaseName nvarchar(max)
, Timestamp datetime default (getdate())
)
;
Then I'd alter the trigger to insert data into...
April 11, 2013 at 12:01 pm
If you want to know if a sysadmin has enabled SA, I would ensure an audit is in place, with logging to a file. Set permissions for your sysadmin groups...
April 11, 2013 at 9:25 am
Interesting. Are you Win2K? Or does the article apply to other versions for you?
I need to save that bookmark. It's a handy article.
April 11, 2013 at 9:23 am
What Lynn said.
Documentation is you need it: http://msdn.microsoft.com/en-us/library/ms184325.aspx
April 10, 2013 at 3:48 pm
Powershell I've used:
$server = "dkrSQL2012"
$database = "AdventureWorks2008"
$query = "SELECT TOP 10 Document, FileName FROM Production.Document WHERE Document IS NOT NULL"
$dirPath = "C:\Users\Steve\Documents\Docs\"
$connection=new-object System.Data.SqlClient.SQLConnection
$connection.ConnectionString="Server={0};Database={1};Integrated Security=True" -f $server,$database
$command=new-object system.Data.SqlClient.SqlCommand($query,$connection)
$command.CommandTimeout=120
$connection.Open()
$reader = $command.ExecuteReader()
while...
April 10, 2013 at 3:47 pm
Have you looked at monitoring replication?
http://msdn.microsoft.com/en-us/library/ms151780(v=SQL.90).aspx
Are the 30k rows recent ones changed/added in the publisher? are you sure there is no filtering taking place for this article?
April 10, 2013 at 3:45 pm
You could use RG if you use a specific account/group for backups that you can fit into a classifier function. Read about that if you need to. This will potentially...
April 10, 2013 at 3:44 pm
Is there some reason you cannot attach this to another instance? If it's because of possible corruption, please make sure you copy the MDF before attempting.
If you have potential data...
April 10, 2013 at 3:41 pm
If Steven's link doesn't help you, post a sample XML document and some DDL. We can help you extract the data.
April 10, 2013 at 3:40 pm
In 2008, you should have queueing. DB MAil uses Service Broker under the covers, so I wouldn't worry about that.
http://msdn.microsoft.com/en-us/library/ms190307.aspx
I do think Sean could be right that you have a...
April 10, 2013 at 3:39 pm
SQLRNNR (4/8/2013)
Grant Fritchey (4/8/2013)
Any of the Threadizens going to be in Vegas for SQL Intersection this week?
I was down at the venue yesterday. I won't necessarily be at intersections....
April 8, 2013 at 12:24 pm
rodjkidd (4/5/2013)
Steve Jones - SSC Editor (4/5/2013)
Cadavre (4/5/2013)
rodjkidd (4/4/2013)
Hotel booked for SQLBits. Almost forgot all about that so a nice refreshing 20 minute walk in the morning!
I'm in Castle Marina...
April 8, 2013 at 12:23 pm
Run a trace in between the full backup and log backups. Capture things and look for any backup or truncate messages.
Something must be breaking the chain if this is not...
April 5, 2013 at 4:26 pm
Part of the reason the KBs are there is to allow you to perform self-support. If you think that's not the case, or you are not sure you can solve...
April 5, 2013 at 4:24 pm
Cadavre (4/5/2013)
rodjkidd (4/4/2013)
Hotel booked for SQLBits. Almost forgot all about that so a nice refreshing 20 minute walk in the morning!
I'm in Castle Marina Premier Inn, which according to Google...
April 5, 2013 at 8:01 am
Viewing 15 posts - 12,496 through 12,510 (of 39,809 total)