Viewing 15 posts - 4,651 through 4,665 (of 13,469 total)
oops; duplicate post after editing, so i trimmed the oldest. see below.
October 4, 2012 at 3:05 pm
see your database trigger EventCapture?
do SELECT OBJECT_DEFINITION(EventCapture)
you'll see that that's the culprit; it's writing to the table in the database 'dbEvt.dbo.DTA_Events_Log'
instant fix is to disable the trigger:
DISABLE TRIGGER EventCapture ON...
October 4, 2012 at 2:50 pm
One of the frequent posters here Elliot Whitlow posted a CLR project on CodePlex that does a lot of file manipulations, including a FileExists;
if adding CLR is an option in...
October 4, 2012 at 2:28 pm
ok i'm HOPING this lazy fix is correct;
instead of going to find the columns that consist of the primary keys of a table constraint,
is it true that your tables are...
October 4, 2012 at 2:18 pm
dndaughtery (10/4/2012)
October 4, 2012 at 1:01 pm
it sounds to me like there's a server wide or database trigger tracking DDL changes, but the auditing table hasn't been granted rights to teh users doing DDL, so it...
October 4, 2012 at 12:54 pm
and a basic example of the trigger:
CREATE TRIGGER TR_UPDATE_EXAMPLE ON SOMETABLE
FOR UPDATE
AS
BEGIN
UPDATE SOMETABLE
SET LastModifedUserName = SUSER_NAME(),
LastModifedDate = GETDATE()
FROM INSERTED
WHERE SOMETABLE.PKID = INSERTED.PKID
END
October 4, 2012 at 12:50 pm
I have this saved as a handy auditing snippet;
all these variables are available in 2008 and above, so if you have an audit table, just include some columns for the...
October 4, 2012 at 12:47 pm
here's a couple of examples i made from another forum post.
this one was just a basic example, where something normally done by a sysadmin, can be delegated tro a...
October 4, 2012 at 7:02 am
sql-noob (10/3/2012)
question
Isn't the sa suppose to have full control over the database?
thanks to all of u for answering the questions with limited resources, i really appreciate it.
As you are discovering,...
October 3, 2012 at 12:06 pm
this site has the most comprehensive list of attributes you can query that i've ever tripped over:
http://www.rlmueller.net/UserAttributes.htm
specifically, his excel spreadsheet has a ton of stuff:
http://www.rlmueller.net/References/Schema.xls
i searched for "locked" and "enabled"...
October 3, 2012 at 11:55 am
ahh "bin packing" was the keyword; I've got a lot of saved scripts, could't remeber the label for it.
I wrote a script i wrote long ago, but my version...
October 3, 2012 at 5:50 am
SQLKnowItAll (10/2/2012)
Will they be sequential, or can it be any combination of rows?
definitely non sequential/gaps are involved;
i'm trying a mini tally table and n-1 transactions, but i keep thinking i...
October 2, 2012 at 3:20 pm
looks like a simple grouping problem..is this homework?
SELECT
Col1,
MAX(Col2),
MAX(Col3),
MAX(Col4),
MAX(Col5),
MAX(Col6)
GROUP BY Col1
October 1, 2012 at 2:47 pm
i'm thinking that you need a case statement plus a min, ot get a status/status indicator.
you cannot use alphabetical order of the statuses, because In Progress comes before Initial
maybe change...
October 1, 2012 at 2:43 pm
Viewing 15 posts - 4,651 through 4,665 (of 13,469 total)