![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 01 Oct 2003 @ 15:14:52 GMT
I have several load files which utilize bteq. In these files I create temp tables, perm tables, etc. These tables have the same column attributes, but different table names. Is there a way that I can create one file that has the column attributes and read it in to create my table? This way I only have to maintain one file. For example the following would be in my normal bteq script.
bteq << EOF
.logon teradata/${TTID},${TTPSWD};
CREATE MULTISET TABLE dssbatch.craig_test ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL
(
At this point, I would want to read in a file that has all my columns. Any ideas would be greatly appreciated. Craig _____ www.wescodist.com
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||