Forum Replies Created

Viewing 15 posts - 2,101 through 2,115 (of 3,232 total)

  • RE: Counting without Primary Key

    Can you post some sample data for each table and the results you are expecting to get?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Splitting Query

    First, you'll need to be able to define the rules surrounding the split.  One can look at your string and your output table and guess, but it sure helps, especially...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Trigger Help

    It may also help to look and see if there is a DELETE trigger on the table you are deleting from or an INSERT trigger on the insert table.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Trigger Help

    This is normal behavior as the trigger is part of the UPDATE transaction to that row.  SQL Server holds the locks that were placed on the row for the UPDATE...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Table Partition

    I would not consider partitioning a tuning technique.  What did the article say about partitioning that you have questions on.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Locks and Performance

    Read up on Locking Hints in BOL.  Yes, you can help with performance by using locking hints to tell SQL Server to use a specific type of lock.  Using locking...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Alter Trigger Assistance

    I didn't think Aaron was being negative.  It sounds like a perceptive observation to me.  Look up EXEC in BOL.  You need to build your ALTER TABLE statement into a...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Self Blocks

    You mentioned that you noticed  a bit of the self-blocking during production hours.  How did you identify the self-blocking to begin with?  Was your production system experiencing slowness that you...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Query Analyzer - Transaction

    Yes, I second what Vladan posted.  Read through BOL on not only that topic but on transactions in general and post any questions you come accross.  The default behavior for...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Query Analyzer - Transaction

    You've either specified a BEGIN TRANSACTION without doing a COMMIT/ROLLBACK, or you have SET IMPLICIT_TRANSACTIONS set to ON.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Min() & Max()

    Can you specify an article that states this?  What is the articles position on this?  I would say that it depends on what you are attempting to aggregate and whether...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Self Blocks

    Self blocks are usually due to long I/O wait times.  You've obviously been able to capture the self blocking.  Run sp_lock the next time you see the self blocking and...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Displaying a temp table in code

    Just add a 'SELECT * FROM #TempTable' where you need to view the data.  There is no need to use the PRINT statement to view the data.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Physical IO and Logical IO

    As far as #1 goes, when performance tuning a query, logical and physical reads can be viewed by using SET STATISTICS IO ON.  Physical reads represent how many pages SQL Server...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: Loading a New Database

    Not quite.  They backup file that you have is a SQL Server backup.  The physical file names you see in the options tab are the physical Data and Log file...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 2,101 through 2,115 (of 3,232 total)