INSERT
The Teradata INSERT (short key INS) statement is used to insert records into a table. DSC supports the INSERT statement.
The INSERT INTO TABLE table_name syntax is used in Teradata SQL, but is not supported by GaussDB(DWS). GaussDB(DWS) supports only INSERT INTO table_name. Therefore, remove the keyword TABLE when using DSC.
Input
INSERT TABLE tab1 SELECT col1, col2 FROM tab2 WHERE col3 > 0;
Output
INSERT INTO tab1 SELECT col1, col2 FROM tab2 WHERE col3 > 0;
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot