SSC-FDM-TS0006

EXECUTE AS 'user_name' clause does not exist in Snowflake and the user calling the procedure should have all the required privileges.

circle-info

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 Documentationarrow-up-right

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

Thank you for your understanding.

Description

This message is shown when SnowConvert finds a procedure with an EXECUTE AS 'user_name' clause. This is not supported in Snowflake, so it is changed EXECUTE AS CALLER.

This clause specifies the security context under which to execute the procedure.

circle-info

For more details see the documentationarrow-up-right about the clause functionality.

Code Example

Input Code:

IN -> SqlServer_01.sql
CREATE PROCEDURE SelectAllCustomers
WITH EXECUTE AS 'user_name'
AS
BEGIN
      SELECT * FROM Customers;
END;

Output Code:

Recommendations

Last updated