Forum Replies Created

Viewing 9 posts - 1 through 10 (of 10 total)

  • RE: Cursors to compare to values

    Paul,

    Thank you very much. I appreciate everyone's assistance with this.



    Kind Regards,
    Tim
    :cool:[font="Courier New"]The stone age did not end due to a lack of stones, nor will the information age end due to a lack of data.[/font]:cool:

  • RE: Cursors to compare to values

    Much Appreciated Flo.

    Thank you!



    Kind Regards,
    Tim
    :cool:[font="Courier New"]The stone age did not end due to a lack of stones, nor will the information age end due to a lack of data.[/font]:cool:

  • RE: Cursors to compare to values

    Thanks so much Flo!

    This works great! Just for my own understanding on the cursor though, how would I set the Fetch_Status?

    Kind Regards,

    Tim



    Kind Regards,
    Tim
    :cool:[font="Courier New"]The stone age did not end due to a lack of stones, nor will the information age end due to a lack of data.[/font]:cool:

  • RE: Cursors to compare to values

    Hi Flo,

    I'm attempting to update col2. It is currently null. The updated value should be assigned to +1 each time Col3 is less than the record before it,...



    Kind Regards,
    Tim
    :cool:[font="Courier New"]The stone age did not end due to a lack of stones, nor will the information age end due to a lack of data.[/font]:cool:

  • RE: order of rows during bulk insert

    Thanks Steve and Nick,

    Yes, I understand to retrieve the data I am ordering it by the Id_Column. My concern was that because the database retrieves the data in what...



    Kind Regards,
    Tim
    :cool:[font="Courier New"]The stone age did not end due to a lack of stones, nor will the information age end due to a lack of data.[/font]:cool:

  • RE: order of rows during bulk insert

    Thanks Nick,

    So would importing using SSIS into a table with an identity column work to ensure the original sequence? Thus a query like the following would match the source:

    Select...



    Kind Regards,
    Tim
    :cool:[font="Courier New"]The stone age did not end due to a lack of stones, nor will the information age end due to a lack of data.[/font]:cool:

  • RE: order of rows during bulk insert

    Thank you Lutz



    Kind Regards,
    Tim
    :cool:[font="Courier New"]The stone age did not end due to a lack of stones, nor will the information age end due to a lack of data.[/font]:cool:

  • RE: order of rows during bulk insert

    Thanks Lutz,

    Unfortunately there is no true key to the data, and there are millions of rows (Manually adding them isn't going to work). The rows are ordered in a...



    Kind Regards,
    Tim
    :cool:[font="Courier New"]The stone age did not end due to a lack of stones, nor will the information age end due to a lack of data.[/font]:cool:

  • RE: order of rows during bulk insert

    Is there a way to ensure that a flat file is loaded into sql in the exact sequence of the source file?

    I am having a similar concern with a flat...



    Kind Regards,
    Tim
    :cool:[font="Courier New"]The stone age did not end due to a lack of stones, nor will the information age end due to a lack of data.[/font]:cool:

Viewing 9 posts - 1 through 10 (of 10 total)