Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004

    Unanswered: How do I use db2 load command

    I need to import data from a csv file but with the following constraints.

    I need to skip the first row which has column names
    All the column values are enclosed within double quotes (" value ")

    So how can I use db2 load command to import data from it.

    I am using DB2 7.2 UDB on AIX 5.0

    Please help me. I need to get this import working quickly.

  2. #2
    Join Date
    Apr 2006
    Provided Answers: 11
    you could do this with import and specify record 2 as starting record
    the difference is the load time
    if load needs to be used try head/tail commands and try to eliminate the first record or try the load and hope that the first record gets in the exception tables that you define
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5-V11 Fundamentals- DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

Posting Permissions

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