SnowConvert: Out-of-Scope¶
Description¶
As described in the conversion scope page, some code units are considered out of scope for conversion reasons. Here are some examples of how these code units are printed in the output folder.
Teradata¶
Function with unsupported language:¶
CREATE FUNCTION CFEXTERNALINC (p1 INTEGER)
RETURNS TABLE(
c1 INTEGER
)
LANGUAGE java
NO SQL
PARAMETER STYLE SQL
EXTERNAL NAME 'CS!fnc_tbf001udt.c'
Snowflake output:¶
----** SSC-OOS - OUT OF SCOPE CODE UNIT. CREATE FUNCTION IS OUT OF TRANSLATION SCOPE. **
--CREATE FUNCTION CFEXTERNALINC (p1 INTEGER)
-- RETURNS TABLE(
-- c1 INTEGER
-- )
-- LANGUAGE java
-- NO SQL
-- PARAMETER STYLE SQL
-- EXTERNAL NAME 'CS!fnc_tbf001udt.c'
;
Oracle¶
Wrapped type definition:¶
CREATE TYPE data_typ1 wrapped
a000000
b2
6CodpsEHq3I=
Snowflake output:¶
----** SSC-OOS - OUT OF SCOPE CODE UNIT. Wrapped TYPE IS OUT OF TRANSLATION SCOPE. **
--CREATE TYPE data_typ1 wrapped
--a000000
--b2
--6CodpsEHq3I=
Transact SQL¶
Trigger:¶
CREATE TRIGGER reminder1
ON Sales.Customer
AFTER INSERT, UPDATE
AS RAISERROR ('Notify Customer Relations', 16, 10);
Snowflake output:¶
----** SSC-OOS - OUT OF SCOPE CODE UNIT. CREATE TRIGGER IS OUT OF TRANSLATION SCOPE. **
--CREATE TRIGGER reminder1
--ON Sales.Customer
--AFTER INSERT, UPDATE
--AS RAISERROR ('Notify Customer Relations', 16, 10);
Recommendations¶
If you need more support, you can email us at snowconvert-support@snowflake.com