Forum Replies Created

Viewing 15 posts - 57,931 through 57,945 (of 59,048 total)

  • RE: slow slow sproc

    Look, also, for "triangular joins" especially in correlated sub-queries (which can be a RBAR load all by themselves).  An example of a "triangualar join" might be something like the classic...

  • RE: Row count

    Well, well, well... I wondered where I saw that lick of code before... Welcome aboard, Josh!

  • RE: maxdop

    THAT is very true... there's a hot fix for it (although I don't remember the #, check the MS website).  In fact, if parallelism is spawned and you don't have...

  • RE: Is there a way to tell when a SP was last executed ?

    Very nicely done and very neat idea, Harry... gotta couple of rhetorical questions and a tip or two...

    1.  It would appear that ProcFinish and ProcFiledate will always have the same...

  • RE: Introductory book on T-SQL

    Ah... I get it.  The W3Schools website does have both "equi-joins" (joins in the WHERE Clause) and ANSI Joins (INNER JOIN, LEFT OUTER, RIGHT OUTER, FULL OUTER, CROSS, etc) with...

  • RE: Converting varchar to a datetime datatype

    The real problem is that no matter what anyone does, you will not be able to differentiate between the two formats if both the day and month are <= 12. ...

  • RE: Performance Tuning Stored Procedures

    I believe it's because some of the system owned spids are doing work in the background.  On a dead quiet system, SQL Server has a "heartbeat" that occurs about once...

  • RE: Table Fragmentation

    Thanks for the feedback, Gabor.  Yep, I found the same thing and more... I'm not sure what I was thinking of before.  Must'a been some bad coffee of something...

  • RE: Table Fragmentation

    Gabor, I admittedly need to do a little more research but considering that the "Reorganize data and index pages" option actually moves data from the end of the physical file to...

  • RE: Eliminating Cursors

    Agreed.  I don't know why 3rd part vendors do that to us.   In those cases, though, I'll still do bulk processing to fill a staging...

  • RE: Can anyone recommend a good performance tuning tool?

    Diagnostic Manager... Now THAT's useful and I understand what you mean, now!  That kind of monitoring tool can be priceless!  Thanks for the info, Colin.

  • RE: Is there a way to tell when a SP was last executed ?

    If it's a gotta-have-it now type of thing, look at the proc and see if it uses GETDATE() to update any columns in tables... you might have to do a...

  • RE: BULK INSERT fixed length

    Bulk Insert does not necessarily require field separators if you use a format file.  Or, just use Bulk Insert to import to a single column tables and then use SUBSTRING...

  • RE: Audit History

    Totally untested... should be nasty fast if the ID and StartTimeColumns are indexed.

     SELECT tc.ID,

            tc.StartTime,

            tc.StopTime,

            d.MinStopTime AS OriginalStopTime

       FROM dbo.TimeClock tc WITH (NOLOCK),

           ...

  • RE: Introductory book on T-SQL

    If you want strictly ANSI 92 compliant stuff, there's no need for a book on T-SQL...

    Try http://www.w3schools.com

    For the record, if you're one of those folks that insists on writing...

Viewing 15 posts - 57,931 through 57,945 (of 59,048 total)