07-03-2007
197,
1
Join Date: Jun 2007
Last Activity: 19 November 2018, 10:11 PM EST
Posts: 197
Thanks Given: 3
Thanked 1 Time in 1 Post
Adjusting the output in a file
QUERY SCENARIO
Here is the actual scenario
LOOP
echo "$COLNAME $TYPENAME($LENGTH) $NULLS ">>$DDL_FILE
END-LOOP
COLNAME, TYPENAME, LENGTH, NULLS are the variables and within echo statment the output of which has to go into file specified by DDL_FILE.
The above echo statment is in loop and each time the length of variables varies. Please tell the code which put output columns just below one another in the file