Forum Replies Created

Viewing 15 posts - 48,406 through 48,420 (of 49,552 total)

  • RE: More newbie system table help

    Sounds like the guy we had applying for a senior SQL Server DBA position. When we tested him, he couldn't write a select statement that returned the name and surname...

    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: sp_executesql execution time

    It really depends on a number of factors. Usually when my developers ask which of a couple of ways will be faster, I tell them to try both and see...

    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: More newbie system table help

    Jeff Moden (10/1/2007)


    Didn't ask what the decimal value of 24 was... ask which bit would be set. Hint, first bit is called "bit 1" or "bit 0" depending on...

    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: Data in Use or Data in memory

    Jeff Moden (10/1/2007)


    Didn't know that. Wow... the boy's in Redmond pretty much blew it there...

    Don't blame MS for this one. The 2005 encryption uses industry-standard, well proven encryption routines...

    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: Cannot open user default database. Login Failed for user x\y error 4064

    Are you trying from object explorer? That always tries to create a new connection for every action. You'll have to fix the problem in script.

    Don't bother with object explorer....

    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: Data in Use or Data in memory

    Robert Heynen (10/1/2007)


    Gal...can you direct me to the PASS article you speak of, and yes, it would be fabulous to have some semblance of code I could reference to...

    It wasn't...

    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 this workable

    If both columns involved in the OR are indexed (separate indexes), there's still a chance of a seek. Not a guarantee.

    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: Cannot open user default database. Login Failed for user x\y error 4064

    On the login dialog of management studio, there's options button. Click that and you'll get a second tab that includes a database dropdown. Type master in there and you should...

    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 index to use to limit rows in a big table?

    Do you have to do select *? Selecting all the fields essentially makes creating covering indexes impossible.

    Try rebuilding both the NC and the clustered indexes and see if that makes...

    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 we modify system tables in SQL Server 2000?

    Lester Policarpio (10/1/2007)[hr

    What if I just want to delete orphaned users in sysusers and i enabled the "allow updates" then disabled it after deleting the orphaned user?Am I doing 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: can we modify system tables in SQL Server 2000?

    Don't recall. It took me quite some time to figure out the cause.

    Was something like 'Cannot find object NULL'. Seems that SQL does a string concatenation of the owner (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: Tempdb Contention

    I have the 4 system DB's IDs memorised. It's quicker when reading through syslockinfo. Come to think of it, I have half of my user DB's ids memorised too... :hehe:

    I...

    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 2000 Reattaching Database issue

    Amanda Walshaw (9/29/2007)


    dear forum,

    So dettached the mydatabse from enterprise manger (no one is on the system by the way its a sunday here) deleted the log file and in...

    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: More newbie system table help

    Jeff Moden (9/29/2007)


    I can't tell you the number of folks I've interviewed who have Masters or PHDs in mathematics that couldn't tell me what bit will be set by 24...

    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 we modify system tables in SQL Server 2000?

    The only time I've ever had to directly modify the system tables was to fix stuff-ups caused by idio^H^H^H^H other DBAs directly modifying the system tables.

    Ever seen a table with...

    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 - 48,406 through 48,420 (of 49,552 total)