Forum Replies Created

Viewing 15 posts - 8,731 through 8,745 (of 13,874 total)

  • RE: Just an idea ...

    DonlSimpson (1/27/2015)


    I know this is fairly radical, but I enforce an alphabetic order to the column list in the schema. My only concession is pk first.

    I got...


  • RE: Append SQL Table with SSIS Package

    atul.jadhav (1/27/2015)


    Dear Phil Parkin

    yes, that's why I created table and have separate Year and Month column in my excel/sql table

    please give way

    I told you the way. I'm not going to...


  • RE: Append SQL Table with SSIS Package

    atul.jadhav (1/27/2015)


    Is there a unique key in the source Excel data?

    It seems that your ideal flow would be something like:

    1) Process Excel file. For each row:

    2) Does row exist in...


  • RE: Append SQL Table with SSIS Package

    Is there a unique key in the source Excel data?

    It seems that your ideal flow would be something like:

    1) Process Excel file. For each row:

    2) Does row exist in target...


  • RE: Which of these indexes should be deleted?

    sm_iransoftware (1/26/2015)


    Which search? (select from dmv's or select from taht table)

    I have no idea what you mean. Did you check the link?


  • RE: Which of these indexes should be deleted?

    sm_iransoftware (1/26/2015)


    Then what is the best way to get Unused indexes?

    A brief search suggested this[/url].


  • RE: Selecting and merging records for a singular complete record

    k.allen.emt (1/25/2015)


    Phil,

    that looks like it would work for data you give to the statement itself.

    I'm looking to go through close to 6 million records in leadsdb.leads

    not manually do it

    There was...


  • RE: Selecting and merging records for a singular complete record

    Try the following:

    with data

    as (

    select PhoneNo = '727-555-1234'

    ...


  • RE: Just an idea ...

    mister.magoo (1/24/2015)


    ...or you can use the Object Explorer Details view to sort the columns.

    Just click on the "Columns" node in Object Explorer, then press F7 to open the details view...


  • RE: ID or Id

    ScottPletcher (1/23/2015)


    Phil Parkin (1/23/2015)


    Steve Jones - SSC Editor (1/23/2015)


    I tend to use ID, but that's I think my OCD coming in. ID is an acronym. Product is a word.

    ProductId would...


  • RE: ID or Id

    Steve Jones - SSC Editor (1/23/2015)


    I tend to use ID, but that's I think my OCD coming in. ID is an acronym. Product is a word.

    ProductId would look funny to...


  • RE: ID or Id

    ScottPletcher (1/23/2015)


    I don't get why just "ID" is fully capitalized. Why not "addr"?

    Why is it:

    ProductID

    but:

    ProductAddr

    rather than:

    ProductADDR

    Why selectively capitalize just one abbreviation? Why the inconsistency?

    Exactly. I think it must...


  • RE: ID or Id

    ZZartin (1/23/2015)


    The only proper naming convention is all caps with underscore seperators.

    On another note on the most jarring experience I had with naming conventions was using an open source ecommerce...


  • RE: UNION vs. PIVOT for de-flattening SOME columns of a partially flat table

    I cannot see how you could use PIVOT to generate the same results as your SELECT ... UNION example.

    Would you be so good as to post the solution please?


  • RE: Just an idea ...

    Jeff Moden (1/23/2015)


    Doesn't Intellisense do what you want here? Or are you looking for the datatype and constraints, etc, as well?

    This is not about cutting code – SQL Prompt...


Viewing 15 posts - 8,731 through 8,745 (of 13,874 total)