Forum Replies Created

Viewing 15 posts - 41,356 through 41,370 (of 49,552 total)

  • RE: sql server indexing?

    kiman_keren (1/28/2009)


    for question number 2: yup, i wanna know that.

    SQL reads the table, gets all the values for the columns that the index key includes, sorts them, allocates pages and...

    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: My company decided not to upgrade any software this year!!

    Loner (1/28/2009)


    Is your company planning to upgrade from SQL Server 2005 to 2008 this year?

    I've got clients still on SQL 2000 with no plans to upgrade.

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

    thatok (1/28/2009)


    Now the tables on my side are already encrypted. The process I used last month was rather messy.

    How are they encrypted? To use DecryptByKey, the data must have been...

    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?

    Grant Fritchey (1/28/2009)


    I didn't get to see it. I wish I had.

    You didn't miss much. I read about half of it and then gave up

    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: Page Inconsistency

    Are those the only errors that checkDB's returning? If not, can you post the entire output of the following

    DBCC CHECKDB (< Database Name > ) WITH NO_INFOMSGS, ALL_ERRORMSGS

    Detach/attach will not...

    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?

    Steve linked to the original article in his editorial today.

    http://www.sqlservercentral.com/articles/career+growth/64632/

    The plagiarised article has been removed.

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

    thatok (1/28/2009)


    Argument data type float is invalid for argument 1 of DecryptByKey function.

    Indeed it is. Decrypt takes a varbinary parameter, as all encrypted data is varbinary. If it's float, 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
  • RE: Help understanding adhoc plans and procedure cache

    DBADave (1/28/2009)


    Bingo. You guessed it. He's now hitting us with claims about adhoc plans consuming 28-32GB of cache and that the cache will never be released because the...

    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: Help understanding adhoc plans and procedure cache

    DBADave (1/27/2009)


    When adhoc plans are cached how long do they stay in the cache?

    Depends on how expensive they were to compile and how often they're used.

    Will they be eventually flushed...

    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: Check db command

    shivayogigouda.patil (1/27/2009)


    How to execute DBCC CheckDb command to remove the consistency errors found in msdb database.

    Do we suppose to get the database in single user mode?

    The preferred way to fix...

    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: Using EXECUTE (@sqlvar) in function

    smeet.sinha (1/27/2009)


    Can't we use execute statement in functions?????

    No, you can't.

    My second question is : How can i store a value returned from execute(tsql) in a variable.

    Look up sp_executesql. 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
  • RE: Newbie:Why is select doing a table scan?

    ScottPletcher (1/27/2009)


    It looks to me like SQL is using the non-clus index on the lookup table.

    If you look at the exec plan, you'll notice it's a table scan on the...

    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: Query question

    Just a note for the future. Please post SQL 2000-related questions in the SQL 2000 forums

    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: Backup and Restore affect indexes or free space?

    kevinsql7 (1/27/2009)


    When you back up a sql server database and then restore it, is the restored database more efficient (as far as querying)?

    No.

    Does a simple backup (without any options...

    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: sys.allocation_units corrupted

    James Zhang (1/27/2009)


    Anybody knows what could be the possible reasons for this to happen? Also, is it possible that an application could have caused this (by doing SQL) or is...

    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 - 41,356 through 41,370 (of 49,552 total)