RNHTTR commented on code in PR #39734: URL: https://github.com/apache/airflow/pull/39734#discussion_r1608863759
########## docs/apache-airflow-providers-microsoft-mssql/operators.rst: ########## @@ -17,26 +17,29 @@ .. _howto/operator:MsSqlOperator: -MsSqlOperator -============= +Connect to MSSQL using SQLExecuteQueryOperator +============================================== -The purpose of MSSQL Operator is to define tasks involving interactions with the MSSQL database. +The purpose of this guide is to define tasks involving interactions with the MSSQL database using SQLExecuteQueryOperator. -Use the :class:`~airflow.providers.microsoft.mssql.operators.mssql.MsSqlOperator` to execute +Use the :class:`SQLExecuteQueryOperator <airflow.providers.common.sql.operators.sql>` to execute SQL commands in MSSQL database. -Common Database Operations with MsSqlOperator ------------------------------------------------- +.. warning:: + Previously, MsSqlOperator was used to perform this kind of operation. But at the moment MsSqlOperator is deprecated and will be removed in future versions of the provider. Please consider to switch to SQLExecuteQueryOperator as soon as possible. -To use the mssql operator to carry out SQL request, two parameters are required: ``sql`` and ``mssql_conn_id``. +Common Database Operations with SQLExecuteQueryOperator +------------------------------------------------------- + +To use the mssql operator to carry out SQL request, two parameters are required: ``sql`` and ``conn_id``. Review Comment: ```suggestion To use the SQLExecuteQueryOperator to execute SQL queries against an MSSQL database, two parameters are required: ``sql`` and ``conn_id``. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org