===========================================================================
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Without data | |
CREATE TABLE new_table AS | |
old_tables WITH NO DATA; | |
===========================================================================
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Use the following SQL to copy table with data in Teradata: | |
CREATE TABLE new_table AS | |
old_table WITH DATA; | |
-- The same results can be achieved by issuing the following statements: | |
CREATE TABLE new_table AS old_table | |
WITH NO DATA; | |
INSERT new_table SELECT * FROM old_table; | |
Like the Facebook Page & join Group
https://www.facebook.com/DataStage4you
https://www.facebook.com/groups/DataStage4you
https://twitter.com/datastage4you
https://groups.google.com/d/forum/datastage4you
For WHATSAPP group , drop a msg to 91-88-00-906098
No comments :
Post a Comment