|
Archives of the TeradataForumMessage Posted: Thu, 02 Oct 2003 @ 10:36:13 GMT
I can't use the CREATE TABLE as syntax because I want to be able to change the primary index on the fly (I didn't find a way to do this with CREATE TABLE). I have done the following to get around my challenge. I build and run the new ddl using this syntax in a unix script. DATABASE=dssbatch bteq << EOF ECHO '.OS /dba/dss/dbloads/dly_sales/dly_sales_sql.ddl $DATABASE .RUN FILE=tmp.ddl .OS rm tmp.ddl; .exit Here is the file I call. echo CREATE MULTISET TABLE $1.$2,NO FALLBACK , Thanks for all the suggestions!!
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||