Forum Replies Created

Viewing 15 posts - 15,946 through 15,960 (of 49,552 total)

  • RE: TVP Bug

    Not a bug. Expected and documented behaviour.

    The scope for column resolution within a subquery is first to the tables inside the subquery, then to the tables outside the subquery. If...

    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
  • RE: Very Small Tables

    Never mind.. not up for an argument...

    Just note that by adding a unique constraint, you've added a nonclustered index, unless you made it unique clustered.

    While the rows on page may...

    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
  • RE: How's this for a Job Description

    Well I certainly don't qualify. Good thing I'm not looking to change jobs....

    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
  • RE: Would using the MS Press books be sufficient?

    Books Online is sufficient. It's not the easiest way, but it does cover everything.

    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
  • RE: Continuing career with SQL

    Have a look at the list of skills measured on the MS site.

    http://www.microsoft.com/learning/en/us/certification/cert-sql-server.aspx

    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
  • RE: Reading TRANSACTION LOG

    There's no easy way to read the tran log. You can use fn_dblog or you can buy a log reader (~$1000). Note for either to be useful the transaction you're...

    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
  • RE: Single User mode for dbs.

    KILL <user's session ID>

    USE <database in single user mode>

    or set it to restricted user first, then single user once all the non-admins are out.

    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
  • RE: SQL Server crashes when data drive full?

    A full drive shouldn't cause SQL to crash. It'll cause transactions to fail, that's about all.

    Check the SQL error log, see what's the last few entries in the log

    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
  • RE: Database inrecovery

    No, simple recovery does not in and of itself cause the log to grow.

    Log growth is possible in any recovery model if the largest transaction (in simple recovery) or...

    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
  • RE: Database inrecovery

    Ratheesh.K.Nair (10/23/2012)


    In a blog i read that SIMPLE recovery mode can cause high recovery interval since its not possible to take log backups and taking frequent log backup will reduce...

    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
  • RE: Which Stored Procedures Update Tables?

    On SQL 2008, use the sys.dm_sql_referenced_entities and sys.dm_sql_referencing_entities. These track dependencies accurately, so you don't have to try and match to the object's definition. That said they show all dependencies,...

    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
  • RE: Retention Period for Queries Executed

    What you're querying there is not a history of queries executed, it's the plan cache which contains some info on execution history. Plans that aren't cached don't appear in there,...

    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
  • RE: Restoring from one instance to another...

    Please note: 2 year old (resolved) thread

    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
  • RE: Dynamic SQL to change Recovery Model

    n00bDBA (10/23/2012)


    Interesting, so when using dynamic sql you never put in GO? How is it ran then if you cant use GO to separate statements?

    Each piece you EXEC is a...

    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
  • RE: Is it possible to execute an encrypted SQL script with SQLCMD?

    Oh it's better. Better in the sense that it'll take me 10 seconds to reverse not 5 and require sysadmin access.

    It is not encryption, it is not going to protect...

    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 15 posts - 15,946 through 15,960 (of 49,552 total)