Viewing 15 posts - 76 through 90 (of 426 total)
Here is one way:
http://www.sqlservercentral.com/columnists/spustovit/easyauditingasharedaccount.asp
You should also check out Steve's series:
http://www.sqlservercentral.com/columnists/sjones/auditingyoursqlserverpart1.asp
http://www.sqlservercentral.com/columnists/sjones/auditingyoursqlserverpart2.asp
http://www.sqlservercentral.com/columnists/sjones/auditingyoursqlserverpart3.asp
http://www.sqlservercentral.com/columnists/sjones/auditingyoursqlserverpart4selectiveauditing.asp
Andy
July 11, 2006 at 12:48 am
Woops I really missed that one, sorry about the Excel bashing.
Here are some discussions that may help.
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=205450
Andy
July 7, 2006 at 2:03 am
There is something definately wrong with fn_get_sql as documented in BOL. It looks like the sql_handle is only available to the @@SPID connection, RE:
SELECT spid, sql_handle FROM sysprocesses WHERE spid...
June 30, 2006 at 2:40 pm
I would change the 2. Import to excel and clean-up to:
2. Import to temp table and clean-up
Why you might say, Excel is really easy to use and has great interactive features.
When you...
June 30, 2006 at 4:05 am
Here is some short hand for what you have provided, PK = Primary Key Constraint and FK = Foriegn Key constraint:
-- PK groupId
Groups
-- PK userId,BranchId
-- FK to Groups groupId possible
User...
June 30, 2006 at 3:38 am
SQL Server 2000 replaces code pages and sort orders with collations. The Client uses the Windows Regional setings, which can be translated using the ODBC or OLE DB connection settings.
Search...
June 30, 2006 at 2:09 am
Try changing your select line to:
SELECT @vSubject = @vSubject + ' ' + CAST(ISNULL(A.EntryTime,'') AS VARCHAR(20)) + ' ' + ISNULL(A.Source,'') + ' ' + ISNULL(A.LogEntry,'') + ISNULL(B.LogEntry,'') + CHAR(13)
Please...
June 30, 2006 at 1:50 am
June 30, 2006 at 1:25 am
My approach would be to create a semaphore table and a scheduled Job to process all rows using the semaphore table to communicate asynchronously. You app...
June 30, 2006 at 12:57 am
If the Job is using a stored procedure, you could use the RETURN (0) for success and RETURN (1) for failure in the stored procedure.
Don't forget the (), T-SQL is...
June 29, 2006 at 6:01 am
Open the master..sp_executesql stored procedure in EM, and look at the code to see why. EXEC is the same.
Use QA and try and run your select with a variable where...
June 29, 2006 at 5:34 am
Robert,
You can insert with a view, if it is for a single table and you grant Insert permission, or if it is a multi-table view you can use instead of...
June 29, 2006 at 4:27 am
Chandrasekhar,
I beg to differ, the trouble with mailto "features" is that they are dependant on the default email program you have defined on your workstation. I use Outlook 2003 and...
June 29, 2006 at 3:58 am
You cannot use a variable for the where clause, you must concatenate the variable with the dynamic T-SQL. Example:
set @sql = N'insert into #temp
select distinct gdb.GD_Banner_ID,...
June 29, 2006 at 3:42 am
You can create a scalar user-defined function that you can call without the two part naming, see:
http://www.sqlservercentral.com/scripts/viewscript.asp?scriptid=1522
The trick here is the location (master DB) and owner (system_function_schema). The main...
June 29, 2006 at 12:47 am
Viewing 15 posts - 76 through 90 (of 426 total)