Forum Replies Created

Viewing 15 posts - 106 through 120 (of 389 total)

  • RE: Validation Error in SSIS 2008r2.

    venkat5677 (5/14/2014)


    I changed destination table column length to 255 but no luck

    Not sure.If you really have a luxury to change the length of destination table column.

    However can you please provide...

  • RE: Validation Error in SSIS 2008r2.

    Phil Parkin (5/14/2014)


    rhythmk (5/14/2014)


    There are blank values or spaces in the columns in your source file.Better to TRIM or limit the length to certain number as per your requirement using...

  • RE: Validation Error in SSIS 2008r2.

    There are blank values or spaces in the columns in your source file.Better to TRIM or limit the length to certain number as per your requirement using SUBSTRING.

  • RE: Drop Me? No, I Don't Think So

    Nice question with very good explanation.Thanks Andy.

  • RE: Round decimal number

    lsalih (5/13/2014)


    Thank you both. So how you correct the query to print 1.9?

    Gail has already provided it 🙂

  • RE: Opinion:Flat file source Retain null values ...

    Resender (5/13/2014)


    Well its not a 'real' problem.

    It's more me wondering why I should get truncation errors on colums while I'm expecting null values in that column & explicity said that...

  • RE: Round decimal number

    lsalih (5/13/2014)


    hi Gail -

    Sorry, one correction... I just realized that the user wanted to get the actual decimal result, in this case the result should print 1.9.

    declare @val1 int

    declare @val2...

  • RE: Round decimal number

    As mentioned by Gail first you can not store decimal values in int.So anything after the decimal will not be considered i.e. 1.0 to 1.99 all would give you values...

  • RE: Opinion:Flat file source Retain null values ...

    Can you please provide more information like what is source,destination,transformation and error message etc.

  • RE: Split row into columns

    With the help of Eirikur Eiriksson's code.You acn try this.

    ;WITH test

    AS

    (SELECT POLICY_DETAILS_ID,HISTORY_ID,CODE_ID,

    ROW_NUMBER() OVER(PARTITION BY POLICY_DETAILS_ID,HISTORY_ID ORDER BY code_id) AS rn

    FROM @POLHIST)

    SELECT POLICY_DETAILS_ID,HISTORY_ID,

    MAX(CASE WHEN rn = 1 THEN code_id END)...

  • RE: Bean Counting

    Ola L Martins-329921 (5/12/2014)


    Only because you find it easy, it doesn't necessarily is for all...

    If you find it easy - good for you and keep it to your self. No...

  • RE: Generating Auto Relationship

    madhukars 32911 (5/12/2014)


    Yes,

    I want to use JOINS, but this relationship is to be generated automatically on selection of the tables by the user.

    I don't think in MS SQL this is...

  • RE: Generating Auto Relationship

    What do you mean from auto relationship ? Please correct if you want to link all the tables.If so you can do it using join.

  • RE: Adding the Current Date to a SSIS Column

    Not sure about your requirement.However you can always define a variable to store the curent date value and can use it as per your requirement whether in Execute SQL Task...

  • RE: Bean Counting

    Nice and easy one.One can answer by seeing the first query itself.No need to see other query as only one option has answer as 1000 for first query 🙂

Viewing 15 posts - 106 through 120 (of 389 total)