SP_RENAME
Store Procedure to Rename certain objects in SQL Server
The SP_RENAME system store procedure can be emulated in Snowflake in certain scenarios. In general, the equivalent is the EXECUTE IMMEDIATE using a dynamic statement with the ALTER TABLE and the original parameters.
Translation Examples for Tables
Source
IN -> SqlServer_01.sql
Output
OUT -> SqlServer_01.sql
Source
IN -> SqlServer_02.sql
Output
OUT -> SqlServer_02.sql
Translation Examples for Columns
Source
IN -> SqlServer_03.sql
Output
OUT -> SqlServer_03.sql
Source
IN -> SqlServer_04.sql
Output
OUT -> SqlServer_04.sql
Related EWIs
SSC-EWI-TS0075: Translation for Built-In Procedure Is Not Currently Supported.
Last updated