Forum Replies Created

Viewing 15 posts - 226 through 240 (of 3,232 total)

  • RE: Where Clause - LIKE and IN

    Great. You may also want to consider adding an index on the location column to prevent table scans.

    John Rowan

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

  • RE: Where Clause - LIKE and IN

    This is not returning results because your IN and your LIKE conditions conflict with each other. It looks to me, without seeing sample data, that you just need to...

    John Rowan

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

  • RE: Pass DB name as parameter to a SQL statement

    1) Theres probably more reasons why you wouldn't want it to work this way than there are for working this way. Here are a few....

    -- Dependancy checking in SPs...

    John Rowan

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

  • RE: Today's Random Word!

    crookj (11/22/2010)


    WOTD - turducken

    Joe

    Never had one.....heard they're fantastic.

    John Rowan

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

  • RE: Today's Random Word!

    ChrisM@home (11/20/2010)


    Manchili.

    Meat and chillies, no beans.

    Onions, garlic, whole cumin seeds browned with the meat. Red chillies for colour, green for flavour. Cumin powder with the crushed tomatoes. Rich stock...

    John Rowan

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

  • RE: Architecture for High Volume file processing

    Rob Schripsema (11/18/2010)


    John Rowan (11/18/2010)


    ...

    I'm sure there are more pros/cons that I listed here in a quick minutes, but that's the main area I can think of. Todd's method...

    John Rowan

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

  • RE: Architecture for High Volume file processing

    Rob,

    The method you've described will not allow for multi-threading the process. You will not be able to achieve multi-threading from within one package as you've described because the...

    John Rowan

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

  • RE: column value balancing (copy previous value <> NULL)

    Good job Wayne....you beat me to it. I know a cte could do the trick, I was just working through the update logic.

    Great solution!

    John Rowan

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

  • RE: column value balancing (copy previous value <> NULL)

    Dick Herberts-320552 (11/17/2010)


    I would say , run the script and see yourself.

    That would be great if I had a SS2008 instance to run it on. This fails on SS2005....

    John Rowan

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

  • RE: column value balancing (copy previous value <> NULL)

    What's with the binary dates?

    John Rowan

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

  • RE: SSIS Derived column

    First thing is that you are missing 2 arguements in your NULL(DT_STR) element. The format for this should be NULL(DT_STR, <<Length>>, <<Code Page>>).

    Second. What is the...

    John Rowan

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

  • RE: Select query

    In addition to what Joe has posted, please refer to the article in my signature line for assistance on creating a post with proper examples and sample data. Following...

    John Rowan

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

  • RE: Return highest inventory value per product

    A simple GROUP BY will do the trick....

    DECLARE @Table TABLE (Inventory int, Product varchar(10))

    INSERT INTO @Table

    SELECT 12345, 'ABC' UNION ALL

    SELECT 12346, 'ABC' UNION ALL

    SELECT 12347, 'ABC' UNION ALL

    SELECT 12348, 'ABC'...

    John Rowan

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

  • RE: Need help with declare syntax

    1. The only way you'll be able to make a generic script that can work for any table is to use dynamic SQL. Here's a good reference for...

    John Rowan

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

  • RE: Today's Random Word!

    diamond

    John Rowan

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

Viewing 15 posts - 226 through 240 (of 3,232 total)