Viewing 15 posts - 12,616 through 12,630 (of 39,936 total)
Basic debugging needed here. Please do this first.
create table logger
( Body varchar(500)
, Subject varchar(104)
, Name varchar(100)
, Version int
, Timestamp binary(8)
)
Use this to debug your trigger.
Then set the trigger like this:
ALTER...
April 15, 2013 at 8:45 am
Yes you can, no it isn't expensive.
We have a couple articles on building clusters virtually:
http://www.sqlservercentral.com/articles/virtual/72682/
http://www.sqlservercentral.com/articles/Clustering/73989/
http://www.sqlservercentral.com/articles/Clustering/73994/
Matt Velic has a great piece on cheap ways to do this as well: http://mattvelic.com/virtual-lab-companion-ebook/
We have...
April 12, 2013 at 5:56 pm
I would again suggest you revisit this idea. It's easy to lose emails, and potentially miss auditing issues here.
If you want to capture this, I would say you should insert...
April 12, 2013 at 1:32 pm
chgn01 (4/12/2013)
from the link:http://msdn.microsoft.com/en-us/library/ms162560.aspx
That link is incorrect. Bug submitted to Connect: https://connect.microsoft.com/SQLServer/feedback/details/783547/implementing-endpoints-documentation-is-wrong
April 12, 2013 at 11:35 am
L' Eomot Inversé (4/12/2013)
It's...
April 12, 2013 at 11:34 am
Lynn Pettis (4/11/2013)
Jan Van der Eecken (4/11/2013)
Lynn Pettis (4/11/2013)
This really makes one want to help, doesn't it.Dunno, but it really looks like he was dumped into getting this job done.
Yes,...
April 11, 2013 at 12:50 pm
L' Eomot Inversé (4/11/2013)
Jan Van der Eecken (4/11/2013)
Lynn Pettis (4/11/2013)
This really makes one want to help, doesn't it.
Dunno, but it really looks like he was dumped into getting this job...
April 11, 2013 at 12:48 pm
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
Viewing 15 posts - 12,616 through 12,630 (of 39,936 total)