Forum Replies Created

Viewing 15 posts - 811 through 825 (of 3,232 total)

  • RE: only get the forst match from table 2

    How would you define 'first match'? Is there a date column in your table2 that would tell us which row comes first? If not, is there an incrementing...

    John Rowan

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

  • RE: DSV data type issues

    Yea, stinks huh. I ran into this same thing a while back. Do you have the IDENTITY property set on that column?

    Here's a thread that may...

    John Rowan

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

  • RE: Global Temp Table in DTS Package

    This really isn't a DTS issue. A global temporary table is a global temporary table no matter where you create it from. It still must follow the rules...

    John Rowan

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

  • RE: Best way to append data from other non-MSSQL database via ODBC

    There are several different ways to do this. This is just one of the ways that would work, but for your scenario, it may be what you are looking...

    John Rowan

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

  • RE: New Column in Derived Transformation

    Nevermind, I just saw the other threads for this question.

    Let's end this thread and continue all responses to this thread:

    http://www.sqlservercentral.com/Forums/Topic837454-148-1.aspx

    John Rowan

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

  • RE: New Column in Derived Transformation

    sqlrunner is correct, you must cast it within the expression.

    Just a question though, why would you not store using the date data type?

    John Rowan

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

  • RE: Notify me if table contains any records from current date

    Ted Zatopek (12/21/2009)


    I would break this up into several tasks. The first would do all the comparisons and inserts into Table X using whatever logic you need.

    The next...

    John Rowan

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

  • RE: Help in making Query

    Doesn't that contradict your previous post? Before you said that the donation must meet all of the criteria and no more criteria

    Any Donation having More than above Preferences are...

    John Rowan

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

  • RE: Help in making Query

    Atif Sheikh (12/21/2009)


    Patient with Preference like

    Male ( PrefID=1)

    Location America (PrefID=5)

    Religion Muslim (PrefID=8)

    Age between 25 (PrefID=3)

    Here is the explanation;

    The above condition means All the DonationIDs are valid if...

    John Rowan

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

  • RE: Read values of variables in SSIS

    Use the debugging components within BIDS to set a breakpoint on the task where you would like to evaluate the variable values. When your package execution reaches the breakpoint,...

    John Rowan

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

  • RE: Is it possible to create nonclustered index on columns with space and ignore the space so that it does not do a table scan?

    Who designed the tables, the developer? If you post the table DDL, index definitions, sample data and your query, we can help more. Please reference this link to...

    John Rowan

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

  • RE: assigning a record form one table to another

    How is the data in these 2 tables related? How can you tell which code goes with which member? Based on your sample data, what would you want...

    John Rowan

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

  • RE: Horizontal Partitioning - Number of Drives Question

    One point that warrents mentioning here is that the Query Optimizer is partition aware. If you use a date column as your partitioning key and your queries against that...

    John Rowan

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

  • RE: Export to flat file errors - XML Data Type

    You can encorporate that into your SELECT as well.

    SELECT varchar1,

    varchar2,

    varchar3,

    ...

    John Rowan

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

  • RE: Inserting Next Row

    Ah, I should have noticed that! The column list in the INSERT and SELECT should be matched up. The values will be inserted into the table and mapped...

    John Rowan

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

Viewing 15 posts - 811 through 825 (of 3,232 total)