Help Center/ Data Warehouse Service/ Tool Guide/ DSC/ Teradata Syntax Migration/ Migrating Tables/ ANALYZE
Updated on 2025-04-10 GMT+08:00
ANALYZE
The ANALYZE statement of Teradata is used to migrate tables.
Input: CREATE TABLE with INDEX
1 2 | CREATE TABLE EMP27 AS emp21 WITH DATA PRIMARY INDEX (EMPNO) ON COMMIT PRESERVE ROWS; |
Output:
Begin CREATE TABLE EMP27 ( LIKE emp21 INCLUDING ALL EXCLUDING PARTITION EXCLUDING RELOPTIONS EXCLUDING DISTRIBUTION ) DISTRIBUTE BY HASH ( EMPNO ) ; INSERT INTO EMP27 select * from emp21 ; end ; / ANALYZE Emp27 (EmpNo);
Parent topic: Migrating Tables
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.