Viewing 15 posts - 12,481 through 12,495 (of 39,804 total)
jay-h (4/16/2013)
Do you really want your boss finding your recently updated resume online?
Don't care. My resume should be always updated. That's prudent. It doesn't imply or mean I'm looking for...
April 16, 2013 at 8:32 am
The "inserted" table contains the new values. The "deleted" table contains the old ones. Change that, or add more code if you need both.
April 16, 2013 at 8:31 am
The point isn't that climate change/warming/whatever is true or not, but rather that MS Research is trying to tackle the difficult problem of building models, and providing tools that can...
April 15, 2013 at 10:12 am
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
Viewing 15 posts - 12,481 through 12,495 (of 39,804 total)