Results 1 to 3 of 3
  1. #1
    Join Date
    May 2004
    Posts
    184

    Unanswered: copying LONGs datatype issues

    Okay,

    So the LONG datatype is 1) deprecated in Oracle, 2) problematic to replicate data between tables. Having said that, I still have to copy/archive a subset of rows that contains a long datatype column. It's possible that this could involve aobut 5,000 rows each time the procedure runs.

    I have seen a couple of different ways for doing this between here and askTom.com.

    1. Cursor - In another thread here, somone used a cursor. This would work for me, but I suspect this has quite a bit of overhead.

    2. COPY command - but this too is deprecated and I cannot guarantee this methodology to work in the future for my customer.

    I don't see that either of these two solutions are great solutions. Are there any preferences here or better solutions that I may have missed?

    Thank you.

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    changing the datatype from LONG to LOB?
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    May 2004
    Posts
    184
    Thanks. I took another look at this and got it to work with NCLOB.

    Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •