Forum Replies Created

Viewing 15 posts - 1 through 15 (of 16 total)

  • RE: Huge Log file - Does not shrink

    I Googled this a few years back and came up with an easy shotgun technique.

    Download the script for [sp_force_shrink_log] and install it in [master]

    Then use the following TQL wrapper for...

  • RE: current session info

    Usually, the power users that have MS Access link to SS tables do so for reporting reasons only.  Unfortunately, they don't always set their app to use snapshots because read-write access...

  • RE: Separate Physical Disk vs. Raid for Temp DB sorting and Unclustered Indexes

    Nah, nothing that you haven't already heard.  The information that I gave above is a general statement from when I paid attention to such things as RAID5 read/write speed comparisons. ...

  • RE: Tempdb log full

    That sounds highly suspicious.  It's always fun to play Sherlock Holms.  I wish it paid good money.

    BTW, you followed a really nice trail.

    ...Mel

  • RE: Separate Physical Disk vs. Raid for Temp DB sorting and Unclustered Indexes

    I have had skilled IT managers tell me that a properly configured RAID will give you the needed efficiency since multiple disks are used.  My argument is from a hardware...

  • RE: Odd Behaviour

    This sounds very similar to issues observed on one of our production servers.  After several weeks of logically sequenced troubleshooting to no avail with red faced managers, Intuition screamed at...

  • RE: Tempdb log full

    I am concerned about the Access connections.  I assume you mean MS Access connecting via ODBC linked tables.  If this is the case, much of the ad-hoc indexing may be...

  • RE: current session info

    There are no settings for SQL Server to blacklist or whitelist applications.  This field in sysprocesses is actually free text generated by the calling program through DBLib or ODBC connections. ...

  • RE: current session info

    Since your request begins with "Got it" I fear this post may be an orphaned thread, so I appologize ahead of time if I make a statement that has already...

  • RE: What are the negative performance hits from using table variables?

    The big difference between @table and #table is not just indexing. 

    @tables cannot be referenced in embedded SQL scripts used by sp_executesql.

    @tables cannot be rolled back.

    Other than these issues, performance...

  • RE: list of user sp''''s from master db

    Can't you just sort the object listing by creation date in SQL EM?  All of the user created procs will bubble to one end of the list because they were...

  • RE: Temp Tables not clearing

    Actually, from Dave McKinney's example from above, I have used it many times...

    IF object_id('tempdb..#tmp') IS NOT NULL

    drop table #tmp

    This works just fine in all cases, even when there are multiple...

  • RE: difference in create temp table; using # vs. tempdb.dbo.table_name

    Hah!  This forum is wonderful!  I had hoped to meet others of my ilk.  I love SS trivia.  I guess I'll have to create a profile now.

    You are right.  The...

  • RE: difference in create temp table; using # vs. tempdb.dbo.table_name

    Thanks, Old Hand, you are right as usual.  The true definition of memory tables (if my old memory serves me correctly) are tables that are preloaded when SQL...

  • RE: difference in create temp table; using # vs. tempdb.dbo.table_name

    I have seen the main difference in temp tables when using DTS Packages.  Since DTS tends to split processes into multiple threads, table scope and persistence are both...

Viewing 15 posts - 1 through 15 (of 16 total)