Netezza

Translation from Netezza to Snowflake

Important Notice: Migration of Documentation Website

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

Official Snowflake Snowconvert Documentation

For any immediate assistance or if you encounter any issues, please contact our support team at [email protected].

Thank you for your understanding.

Description

Creates a new table in Netezza. For more information, please refer to CREATE TABLE documentation.

Grammar Syntax

CREATE [ TEMPORARY | TEMP ] TABLE [IF NOT EXISTS] <table>
( <col> <type> [<col_constraint>][,<col> <type> [<col_constraint>]…]
[<table_constraint>[,<table_constraint>… ] )
[ DISTRIBUTE ON { RANDOM | [HASH] (<col>[,<col>…]) } ]
[ ORGANIZE ON { (<col>) | NONE } ]
[ ROW SECURITY ]
[ DATA_VERSION_RETENTION_TIME <number-of-days> ]

DISTRIBUTE ON RANDOM - DISTRIBUTE ON HASH

This syntax is not needed in Snowflake.

These clauses controls how table data is physically distributed across the system's segments. As Snowflake automatically handles data storage, these options will be removed in the migration.

Grammar Syntax

DISTRIBUTE ON { RANDOM | [HASH] (<col>[,<col>…])

Sample Source Patterns

Input Code:

IN -> Netezza_01.sql
CREATE TABLE table1 (colum1 int, colum2 int, colum3 smallint, colum4 int )
DISTRIBUTE ON RANDOM;

Output Code:

OUT -> Netezza_01.sql
CREATE TABLE table1 (colum1 int, colum2 int, colum3 smallint, colum4 int )
COMMENT = '{ "origin": "sf_sc", "name": "snowconvert", "version": {  "major": 0,  "minor": 0,  "patch": "0" }, "attributes": {  "component": "netezza",  "convertedOn": "05/11/2025",  "domain": "test" }}'
;
  1. SSC-EWI-0073: Pending Functional Equivalence Review.

Last updated