Bowrna commented on code in PR #39734: URL: https://github.com/apache/airflow/pull/39734#discussion_r1609089851
########## 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: yes @RNHTTR -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
