Forum Replies Created

Viewing 15 posts - 37,441 through 37,455 (of 49,552 total)

  • RE: Database back up failed, but did it?

    No idea. Can you restore the backup file? That's the best way to see if the backup completed.

    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 back up failed, but did it?

    dh (7/24/2009)


    1. Should I run the 'DBCC SHRINKFILE' command against the log file and/or 'BACKUP LOG name with TRUNCATE_ONLY' to get the log file down?

    Maybe and no. If you run...

    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: Error with Syntax in Case statement

    Lynn, yours is not equivalent if MyField can be null.

    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: Difference between Unique Clustered Index & Non Unique Clustered Index

    allen davidson (7/24/2009)


    I thought that it keeps rows with adjacent clustered index entries, subject to space being avaiable on the page, on the same leaf page.

    It does.

    Let's take an example...

    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: Are the posted questions getting worse?

    jcrawf02 (7/24/2009)


    By the way Gail, never officially thanked you (thank you, thank you, thank you!) for the link to Leigh's WOT Re-read.

    Pleasure. I love her writing style.

    I'm way behind,...

    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: Are the posted questions getting worse?

    Jeffrey Williams (7/24/2009)


    I wonder what it says about me that I actually enjoy reading all of these books that are supposedly targeted at teens? :hehe:

    I'm the same. I find...

    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: Difference between Unique Clustered Index & Non Unique Clustered Index

    allen davidson (7/24/2009)


    Because a clustered index determins the physical order of records on disk....

    Clustered index determines the logical order of the data, not the physical. Rows can be stored physically...

    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: Difference between Unique Clustered Index & Non Unique Clustered Index

    A clustered index has to be unique. It's the row's 'address'. If the clustered index is not declared as UNIQUE then, behind the scenes, SQL adds an integer column to...

    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: fatal error 5243, possibily related to snapsnot

    Do you have the source code for that trigger?

    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: Can any of you optimize the SQL query..?

    Why do you say the cursor is unavoidable?

    Can you explain what this does?

    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: DB Trigger not running as user!

    Look up EXECUTE AS in Books Online. There are a lot more options than just EXECUTE AS OWNER.

    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: DB Trigger not running as user!

    jordon.shaw (7/24/2009)


    Is there a way in SQL to do like a runas?

    Look up EXECUTE AS

    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: Index scan hint

    Paul White (7/24/2009)


    There are at least four cases where a scan may be as fast or faster than a seek (over the same, or very similar, number of records):

    1. ...

    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: PASSWORD

    I keep running into people who have SQL 2005 on Vista, somehow missed the provisioning tool that launches at the end of the SP2 installation and then can't log into...

    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: MCDBA for sqlserver2000

    The exams for the MCDBA cert were retired a long time ago and there's no longer any way to get that cert. Rather look at getting MSTS and MCITP for...

    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 - 37,441 through 37,455 (of 49,552 total)