![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 31 Mar 2006 @ 13:37:17 GMT
Is it possible to set a PRIMARY KEY when I'm creating a table from a select statement? Ex.:
CREATE TABLE TEST
AS (SELECT VAR1, VAR2, VAR3
FROM TABLE) WITH DATA;
Where VAR1 should be the PRIMARY KEY. Rgds Cassiano
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||