SnowConvert AI - Sybase IQ 기능적 차이

참고

변환 범위

SnowConvert AI for Sybase IQ focuses its assessment and translation capabilities primarily on TABLES, VIEWS, STORED PROCEDURES, and FUNCTIONS. While SnowConvert AI can recognize other types of ANSI-standard statements, these are not yet fully supported for conversion. This means that while the tool may identify them, it won’t perform a complete translation for these unsupported code units.

SSC-FDM-SY0001

Calling stored procedure in FROM might have compilation errors

설명

Snowflake는 프로시저가 특정 조건을 충족하는 경우 FROM 절에서 저장 프로시저를 호출하는 기능을 지원하며, 조건을 충족하지 않을 경우 쿼리가 실패합니다.

코드 예제

입력 코드:
Sybase
 SELECT * FROM MyProcedure(1, 'test');
Copy
생성된 코드:
Snowflake
 SELECT
  *
FROM
  --** SSC-FDM-SY0001 - CALLING STORED PROCEDURE IN FROM CLAUSE MIGHT HAVE COMPILATION ERRORS **
  TABLE(MyProcedure(1, 'test'));
Copy

모범 사례

SSC-FDM-SY0002

Calling stored procedure in FROM might have compilation errors

설명

Snowflake에는 쿼리 최적화를 위한 인덱스가 포함되어 있지 않습니다.

코드 예제

입력 코드:
Sybase
 SELECT * FROM TABLE1 FORCE INDEX (MyIndex);
Copy
생성된 코드:
Snowflake
 SELECT
  *
FROM
  TABLE1
--         --** SSC-FDM-SY0002 - FORCE INDEX IS NOT SUPPORTED IN SNOWFLAKE **
--         FORCE INDEX(MyIndex)
                             ;
Copy

모범 사례