Forum Replies Created

Viewing 15 posts - 16 through 30 (of 30 total)

  • RE: SQL Server 2005 auditing using event notifications

    I'm sure it's faaaaaar too late to be useful, but I just came across this and figured I'd add my 2 cents. (note I didn't test it, and I'm curious...

  • RE: A DDL Auditing Solution

    Go me! I'm denser than usual, it appears. Thanks.

    Admin: yes. There's 30 servers and a couple hundred databases I'd like to cover. Anything that requires clicking is, honestly, not...

  • RE: A DDL Auditing Solution

    Nice to see someone else working on DDL auditing via XE. Is it possible to get a copy of the code without the application? I can see how...

  • RE: Partitioned Table - is index aligned if different FG/scheme, but same Function?

    Okay, so is the example I gave aligned? The index is on a different filegroup, but still using the same Function. So technically it meets the criteria in...

  • RE: What's in your CLR?

    Tao Klerks (12/11/2009)


    Registry Access. Haven't figured out an efficient and sensible way to do it in SQL Server 2005 without using the CLR.

    Powershell for a decent bit of it. ...

  • RE: Finding Page Splits

    Robert Vallee (11/5/2009)


    I use this to find page splits:

    ...

    select AllocUnitName, count([AllocUnitName]) [Splits]

    from ::fn_dblog(null, null)

    where Operation = N'LOP_DELETE_SPLIT' and parsename(AllocUnitName,3) <> 'sys'

    group by AllocUnitName

    ...

    That is _awesome_. Many...

  • RE: Memory pressure issues

    (nevermind - forgot to read subsequent pages)

  • RE: PAGEIOLATCH_EX

    GilaMonster (5/30/2008)


    You did notice that the post you replied to is over a year old?

    And? I'm reading the post looking for advice. And responding a year after you....

  • RE: Importing And Analyzing Event Logs

    Honestly, step 1 is the hard part. The rest is a BULK INSERT or BCP of the file. I'm using Log Parser with success.

  • RE: Watching replication state without GUI?

    Was wondering the same thing, so spent a couple hours digging and came up with this. Not valid for all prod environments, but for regular transactional it should work....

  • RE: Openrowset and Microsoft.Jet.OLEDB.4.0

    Just making sure: 32-bit SQL, correct? I've not gotten it to work on x64.

  • RE: Openrowset and Microsoft.Jet.OLEDB.4.0

    I'd try something like this...

    USE [msdb]

    GO

    DECLARE @jobId BINARY(16)

    EXEC msdb.dbo.sp_add_job @job_name=N'start regsvr',

    @enabled=1,

    @notify_level_eventlog=0,

    @notify_level_email=2,

    @notify_level_netsend=2,

    @notify_level_page=2,

    @delete_level=0,

    @category_name=N'[Uncategorized (Local)]',

    @owner_login_name=N'sa', @job_id = @jobId OUTPUT

    select @jobId

    GO

    EXEC msdb.dbo.sp_add_jobserver @job_name=N'start regsvr', @server_name...

  • RE: Openrowset and Microsoft.Jet.OLEDB.4.0

    I don't have anything, but remember that you can probably set up a SQL Server job to run on startup that run your regsvr command. That's not a fix,...

  • RE: Openrowset and Microsoft.Jet.OLEDB.4.0

    Check and make sure WMI is running properly. We were having a similar issue, and after restarting the server (not just the service) it worked. WMI appeared to...

  • RE: In The Real World - Disaster!

    Logshipping is definitely a worthwhile thing. I created some ultra-basic scripts (since I don't have the enterprise edition of SQL Server) that do the equivalent thing (look on comp.databases.ms-sqlserver)....

Viewing 15 posts - 16 through 30 (of 30 total)