Forum Replies Created

Viewing 15 posts - 46,891 through 46,905 (of 49,552 total)

  • RE: Performance Tool - SQL Profiler

    I'm assuming you downloaded SQL Express. Profiler's not included in that, it's only in the non-free editions.

    If you want to learn and play, download the evaluation version of SQL. That...

    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 database tuning advisor

    Grant Fritchey (4/15/2008)


    ... and look at your execution plan (I'm getting sick of typing that. Anyone have a macro?)

    Ctrl-C, Ctrl-V. I'm starting to keep a text file of common...

    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: Looking for some basic help

    .sqldb is not the extension of a SQL server database or script. SQLite is not in any way related to SQL Server

    Perhaps the SQLDB viewer on this page will help...

    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: SQLS2K: How to encrypt and decrypt objects

    There are utilities available to decrypt stored procs. You should be able to find one with google easily.

    Other option, run profiler and trace the sp_statement starting event. Then 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 in JOB for Transaction Log

    The error message means exactly what it says. BACKUP LOG WITH TRUNCATE_ONLY is deprecated and will not work in a future version of SQL Server (in SQL 2008 specifically). 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: using database tuning advisor

    Take the tuning adviser's advice with a large pinch of salt. It was a tendency to massively over-recommend.

    What I would suggest is that you try the indexes that it's suggested...

    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: looping thru records

    Well, yes. All that's currently doing, is looping over the records. You'll need to add in logic to do whatever inside the while loop.

    while (@@fetch_status = 0)

    Begin

    ...

    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: PASS 2008 - Article

    Jeff Moden (4/15/2008)


    More correctly stated, I'm "Planning on Planning"... Although my plane ticket certainly wouldn't cost as much as your's, I have to plan the time (time off is $Lost),...

    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: looping thru records

    Dunno. Post the code please?

    Make sure you've changed both of the Fetch Next ... to use the variables, otherwie you will only get the first row, 4 times.

    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 to Disable an index in sql server 2000

    Maybe. It depends on the queries run, the data distribution, the indexes you have. It's not a question that can be answered in general.

    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: looping thru records

    Pretty close. You'll need to fetch the email into a variable (ie FETCH NEXT ... INTO @SomeVariable), then the sending logic goes inside the while loop just before the FETCH.

    Just...

    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: Extract stored proc script

    Pleasure.

    Just declare your variable as nvarchar(max), otherwise you risk truncation.

    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 to Disable an index in sql server 2000

    There's no way to disable an index in SQL 2000. You'll have to drop 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: sys.dm_exec_requests question

    If there is a non-zero wait time in the wait_time column and there is a non-null wait type in the wait type column, then this column gives details on exactly...

    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: PASS 2008 - Article

    Jeff Moden (4/14/2008)


    Steve, do you have a URL handy to sign up?

    https://www.sqlpass.org/Summit2008/Pages/default.aspx

    Are you planning on going this year?

    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 - 46,891 through 46,905 (of 49,552 total)