Forum Replies Created

Viewing 15 posts - 2,926 through 2,940 (of 3,232 total)

  • RE: Determine if SQL TRACE is active

    Run sp_who2 and look in the programname column.  If SQL Profiler exists, someone is running a trace.  You can then track it down by using hostname and login.

    John Rowan

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

  • RE: Primary key has null values when select * from tbl (nolock)

    The no lock hint is equivalent to running in read uncommitted isolation level.  This means that you could have dirty reads.  I would guess that the nulls came from...

    John Rowan

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

  • RE: Timeout expired error

    With as simple as your stored procedures are, your problem may be that the data pages are dropping out of cache.  You may also look at pinned tables in BOL. ...

    John Rowan

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

  • RE: Timeout expired error

    The first time a stored procedure runs, it is compiled and the execution plan is stored in cache.  Execution plans are aged out of cache based on the frequency of...

    John Rowan

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

  • RE: Trigger for Auditing

    Look up 'deleted tables' in BOL.  You need to select firmfile, system_user(), getdate() from DELETED. 

    John Rowan

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

  • RE: Database Design-Pls guide

    DTS will not meet your needs if you need real time syncronization like you've said.  You must use replication or triggers.

    John Rowan

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

  • RE: Timeout expired error

    Any process that creates a resource bottleneck could be the problem.  You should be running your backups either during a maintenance period, or in non-peak hours to minimize the performance...

    John Rowan

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

  • RE: Tax Day

    I do not mind paying taxes.  Sometimes it seems like we pay alot in taxes, but we pay much less than people in other countries.  I had an opportunity...

    John Rowan

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

  • RE: The Best Job

    I feel that the sole purpose of a job is to generate money for lifestyle.  While it is good to feel like you are making a contribution and experiencing some...

    John Rowan

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

  • RE: How to copy a database from a different server?

    If you are dealing with a large database that has constant pressure, I would not recommend using DTS as it will add overhead to your database and could impact performance. ...

    John Rowan

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

  • RE: Timeout expired error

    I usually start out at a high level with perfmon.  Monitoring disk, memory, and cpu at a high level should tell you if you need to drill down more into any...

    John Rowan

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

  • RE: Timeout expired error

    It sounds like you are not very familiar with SQL Profiler, so if you are, please do not take offense as I am writing this from the standpoint that you...

    John Rowan

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

  • RE: Filter Result Set Based on First Letter

    If you have an index on vendor_name, a 'where vendor_name like 'a%' should result in an index seek.  If you don't have an index on this column, consider adding one.

    John Rowan

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

  • RE: How can I drop all the constraints in a database

    There isn't a canned script that will do what you are asking for.  You must create one using the syntax that karthik suggested.  Depending on what types of constraints you...

    John Rowan

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

  • RE: Upgrade Script needed

    Of course, you could combine these 2 updates into one using a more complex case statement, but this should get you heading in the right direction.

    declare @t table (Recreate_flag bit,...

    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,926 through 2,940 (of 3,232 total)