Forum Replies Created

Viewing 15 posts - 2,386 through 2,400 (of 3,232 total)

  • RE: T-log too big...need batch inserts

    This script will work in terms of limiting the rows in each batch, but you need a way to determine if the rows already exist in the target table.  As...

    John Rowan

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

  • RE: T-log too big...need batch inserts

    I am assuming that your current Recovery Model is Full.  You may want to consider switching it to Bulk-Logged temporarity while you are moving your data over.  If you are...

    John Rowan

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

  • RE: Is this a memory leak?

    Also, I would recommend leaving it alone unless you've got a good reason to decrease the memory available to SQL Server.  If this is a stand-alone server, give SQL Server...

    John Rowan

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

  • RE: ORDER BY megabytes DESC

    Your [Data] column must be a varchar?  To get it to order correctly, you'll need to strip out the MB value and convert it to a numeric value.  For example:

    DECLARE...

    John Rowan

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

  • RE: Sql 2000 production server SP4 not installed

    If you have > 2 GB of memory and you are using AWE, you will also want to apply this patch after the SP4 upgrade:

    http://support.microsoft.com/default.aspx?kbid=899761

    John Rowan

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

  • RE: Help with Non Exists

    PW beat me to it, but here's another flavor.

    SELECT e.RespondentID

    FROM EventLog e

        INNER JOIN tblLookup l

        ON e.RespondentID = l.RespondentID

        LEFT JOIN (SELECT DISTINCT RespondentID FROM EventLog WHERE...

    John Rowan

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

  • RE: Searching Stored Procs

    Well, when you set up your trace, make sure that the DatabaseID column is listed in the 'Data Columns' tab on the Trace Properties.  You can then cross reference this...

    John Rowan

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

  • RE: Trigger causing Update error

    You are correct as to the code that is causing the problem.  If you are inserting/updating multiple rows, the trigger will fire once after the update, not once per row. ...

    John Rowan

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

  • RE: Searching Stored Procs

    You should be able to use the DBid column in Profiler to determine which database the stored procedure is comming from. 

    John Rowan

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

  • RE: select multiple fields where only 2 are distinct?

    What is the primary key on your table?  Can you post your table DDL?

    John Rowan

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

  • RE: simple update statement

    Whoa, this is totaly different from what you've previously described.  It would be very helpful if you would post your table DDL for both tables as well as sample data...

    John Rowan

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

  • RE: simple update statement

    Will all of the values have the same format of A10?  If so, this will work:

    DECLARE @table TABLE (value char(3))

    DECLARE @table2 TABLE (id CHAR(1), code CHAR(2))

    INSERT INTO @table

    SELECT 'A10' UNION...

    John Rowan

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

  • RE: How to install SQL Server cluster?

    http://www.sqlservercentral.com/columnists/bknight/stepbystepclustering.asp

    If you search SSC for articles on Clustering, you'll find more.

    John Rowan

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

  • RE: Changing Flat File Destinations

    Also, before changing your existing process, it may be worth finding out who or what is locking the file.  Check the virus scanning software on the server.  Make sure it...

    John Rowan

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

  • RE: Changing Flat File Destinations

    I don't have a detailed example, but you could just use the text document destination connection object and push your data to a working file.  Then follow that up with...

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