Forum Replies Created

Viewing 15 posts - 45,676 through 45,690 (of 49,552 total)

  • RE: Microsoft Certified Master: SQL Server 2008

    Steve Jones - Editor (7/15/2008)


    The prerequisites make some sense, but it needs to have some way to verify those items and test the skills.

    Since it's training courses and lab...

    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: Time outs

    There's no magical quick-fix for performance problems. You are going to have to find the poorly performing queries (run profiler for an hour or so and catch all the queries...

    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: DBCC Reindex then ??

    What recovery model is your database 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: SQL Server 2000 - 2 Part Question-Case Statement and Processing speed

    The concatenation problem I'll leave for someone else. As for the perf problem...

    The functions you have on the column in the where clause prevent index seeks, so the query requires...

    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 T-logs in single shot

    Specifying WITH RECOVERY recovers the database and brings it online. Once recovered, no more log backups can be applied (which is why you only want it specified on the last)

    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: DBCC command turning up repeatedly in Profiler

    Then someone's running a proc/sql batch on the other server that's checking your statistics.

    Have a look at the server that's the source of this. See what you can see running

    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: DBCC Reindex then ??

    Reindex alone should be fine. Reindex updates the statistics so there's no need to do that as a separate step

    Don't shrink your databases

    Don't truncate your logs. Either set up 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: Encrypt and Dcrypt data

    rinu philip (7/15/2008)


    I have tried it on sql 2000.:) and it worked..

    I thnk that's an ODBC function, rather than native SQL. Can't find a confirmation though.

    Either way, there's no associated...

    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: T-LOGS

    DBCC SQLPERF(logspace) will show you the percentage log space used for all the database on the server

    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: Encrypt and Dcrypt data

    rinu philip (7/15/2008)


    SELECT ENCRYPT ('Test')-> when this select query is run on a database the value obtained is in an encrypted format.

    On which version of SQL? On SQL 2005,...

    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

    HanShi (7/15/2008)


    Keep in mind that the results are reset whenever the SQL-service is restarted.

    Entries disappear from the query_stats DMV when the query plan is discarded from the plan cache. Depending...

    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: DateAdd problem

    Create a permanent numbers table with a couple thousand rows. It's handy for a number of problems, not just this one.

    Somethng like this

    CREATE TABLE Numbers (

    Number INT PRIMARY KEY

    )

    GO

    INSERT 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: How do I reduce or eliminate logging?

    rinu philip (7/15/2008)


    My questions are

    1) where is this backup stored? (I mean BACKUP LOG)

    It's not.

    2) what is truncate_only? (does it only truncate the log files?)

    Discard the inactive portion of...

    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: Monthly SQL Crashes

    Easy way to check - once you've done the restart, check the first few lines of the error log and see if you have the entry "Using locked pages 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
  • RE: Error: 18456, Severity: 14, State: 16

    kiruba (7/15/2008)


    Thanks SSCarpal Tunnel

    <grin> That's the forum ranking, not username.

    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 - 45,676 through 45,690 (of 49,552 total)