Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    36

    Unanswered: Creating Dynamic Table and Load the data from CSV file.

    Hi All,

    Can anyone please help me in creating a dynamic table and load that table with the values from a CSV file.


    Thanks a lot

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    Pardon my ignorance. What is a dynamic table ?

    And what platform and db2 version are you using ?

    Can you give an example

    Cheers
    Sathyaram
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  3. #3
    Join Date
    Mar 2009
    Posts
    36
    Hi Sathyaram, Thanks for ur reply..

    Dynamic table is a temporary table... which should go off after I use the values from that table in a stored proc.

    I am trying to fetch the values into this table from a CSV file and then I will use the values in a stored proc...This will happen frequently so I am thinking of creating a dynamic table.

    DB2 Version: v9.5.0.3

    OS LEVEL: AIX 5.3

  4. #4
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Check the global temporary tables and the IMPORT and LOAD commands in the manuals.
    ---
    "It does not work" is not a valid problem statement.

Posting Permissions

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