Forum Replies Created

Viewing 15 posts - 8,566 through 8,580 (of 13,874 total)

  • RE: Vendor Changed the Flat File Format

    Vertigo44 (3/23/2015)


    My Source connection was set to look for 5 columns with the last column delimiter expecting a CR/LF. However, our vendor continues to add additional columns to the flat...


  • RE: odd cast of exponential to float issue

    Snargables (3/23/2015)


    I'm sure i could multiply it by something to get it to work however that doesnt explain why it will convert 1.35e6, 1.35e5, 1.35e4, 1.35e3, 1.35e2, 1.35e1, 1.35e-1, 1.35e-2,...


  • RE: odd cast of exponential to float issue

    Snargables (3/23/2015)


    it's not actuallt converting anything when it anything over e-5. or under however u want to look at it.

    Try these

    select cast( '1.550e-6' as float) * 100000

    select '1.550e-6' *...


  • RE: odd cast of exponential to float issue

    Snargables (3/23/2015)


    it's not actuallt converting anything when it anything over e-5. or under however u want to look at it.

    It is converting from varchar to float.


  • RE: odd cast of exponential to float issue

    I'm not sure why it is displayed in exponential notation, but it is still a float and appears to have the right value.

    If you use decimal instead, I think that...


  • RE: odd cast of exponential to float issue

    Snargables (3/23/2015)


    For whatever reason i'm unable to cast anything more thtan e-4 to a float which makes no sence. Am i missing something?

    select cast( '1.550e-6' as float)

    ?????????

    returns 1.55E-06

    ????????

    select cast( '1.550e-5'...


  • RE: Incremental Load

    Eric M Russell (3/23/2015)


    abhas (3/23/2015)


    DATE_MODIFIED column is there.

    If DATE_MODIFIED is populated when the row is initially inserted, and it's updated consistently by the application, and it's indexed, then that's...


  • RE: Incremental Load

    Lowell (3/23/2015)


    Phil Parkin (3/23/2015)


    Is there a 'DateCreated' column in your source data?

    or is there an incremental primary key in the Oracle source that you can just select fromOracle where the...


  • RE: Incremental Load

    Is there a 'DateCreated' column in your source data?


  • RE: Convert SQL data or Flat File or Csv File to XML ?

    If you type

    Me.Connections.

    does Intellisense give you any options at all?


  • RE: Windows function version of the query if possible

    I just noticed another thing ...

    If you do a LEFT JOIN from table A to table B, you are telling SQL to return all rows which match, plus all rows...


  • RE: Windows function version of the query if possible

    Perhaps. If you frequently need to filter based on year.

    Alternatively, if there is already a suitable index on the datetime column, change your filter from

    Year(col) = 2013

    to

    col >= '20130101'...


  • RE: Windows function version of the query if possible

    I see no way (or reason) to introduce windowing functions here.

    I suspect that you would see a large performance improvement if you were to add a QuotaDateYear column to your...


  • RE: Convert GETDATE() to DATETIMEOFFSET(0) within the Data Flow

    aarionsql (3/18/2015)


    Thank you for the suggestion. That does not work as the package fails when it tries to INSERT the record

    I've read your posts and I don't understand 100% what...


  • RE: Dates!

    Here you go

    where (

    dbo.ocsTimeHeader.tshStatus = 'ACTIVE'

    or dbo.ocsTimeHeader.tshStatus = 'IDLE'

    ...


Viewing 15 posts - 8,566 through 8,580 (of 13,874 total)