SnowConvert AI - SQL Server Conversion Settings

Applies to
  • SQL Server

  • Azure Synapse Analytics

一般的な変換設定

一般変換設定ページ

  1. 依存関係が欠落しているオブジェクトにコメントする: 依存関係が欠落しているノードにユーザーがコメントするかどうかを示すフラグ。

  2. Set encoding of the input files: Check General Conversion Settings for more details.

注釈

すべてのサポート言語に適用される設定を確認するには、次の 記事 をご覧ください。

DB オブジェクト名の設定

DB オブジェクト名設定ページ

  1. スキーマ: 文字列値は、適用するカスタムスキーマ名を指定します。指定しない場合は、元のデータベース名が使用されます。例: DB1.myCustomSchema.Table1。

  2. データベース: 文字列値は、適用するカスタムデータベース名を指定します。例: MyCustomDB.PUBLIC.Table1。

  3. デフォルト: 上記のどの設定もオブジェクト名には使用されません。

コード準備設定

コード準備設定ページ

Description

Prepare my code: Flag to indicate whether the input code should be processed before parsing and transformation. This can be useful to improve the parsing process. By default, it's set to FALSE.

Splits the input code top-level objects into multiple files. The containing folders would be organized as follows:

Copy

└───A new folder named ''[input_folder_name]_Processed''
    └───Top-level object type
        └───Schema name
Copy

Example

Input

├───in
│       script_name.sql
Copy

Output

Assume that the name of the files is the name of the top-level objects in the input files.


├───in_Processed
    ├───procedure
    │   └───dbo
    │           A_PROCEDURE.sql
    │           ANOTHER_PROCEDURE.sql
    │           YET_ANOTHER_PROCEDURE.sql
    │
    └───table
        └───dbo
                MY_TABLE.sql
                ADDITIONAL_TABLE.sql
                THIRD_TABLE.sql
Copy

Requirements

We highly recommend using SQL Server Management Studio (SSMS) to obtain the script.

ストアドプロシージャターゲット言語設定

ストアドプロシージャターゲット言語設定ページ

このページでは、ストアドプロシージャをSnow SQL に埋め込まれた JavaScript に移行するか、Snowflake Scriptingに移行するかを選択できます。デフォルトのオプションはSnowflake Scriptingです。

Reset Settings: The reset settings option appears on every page. If you've made changes, you can reset SnowConvert AI to its original default settings.