Who created a filegroup?

  • How do I find out who created a filegroup in SQL 2008, and what is in it?

  • What's in it is easy.

    Query sys.partitions join to sys.allocation_units to sys.data_spaces (you can use object_name on the object id from sys.partitions)

    Who created it may not be possible to discover. If you don't have any custom auditing, check the default trace and see if it's there. If not then there will be no record of who created it.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply