Macros
Translation reference to convert Teradata MACRO statement to Snowflake
Description
Sample Source Patterns
Create Macro Transformation
-- Additional Params: -t JavaScript
CREATE MACRO new_table (col1 INTEGER, col2 VARCHAR(12))
AS
(
insert into table1 (col1, col2) values (:col1, :col2);
select * from table1 where col1 = :col1;
);Known Issues
1. Macro transform to store procedure
Related EWIs
Last updated
