var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Import with a Variable instead of a File
I'm using DB2 9.7 with AIX 6.1. Right now I'm using a file to import data into a DB2 table like this:
db2 import from Filename.txt of del modified by dateformat=\"YYYYMMDD\" messages import.msg insert into Table
I would like to use a variable to import this data instead if it's possible
I tried running this:
db2 import from $Variable modified by dateformat=\"YYYYMMDD\" messages import.msg insert into Table
SQL0104N An unexpected token "," was found following "<identifier>".
Expected tokens may include: "OF". SQLSTATE=42601
Has anyone done this and can help me out? I have not done this before and don't know if it's possible.
Thank you so much!