通过 Windows 身份验证连接到 Microsoft SQL Server
- Updated: 2022/05/20
通过 Windows 身份验证连接到 Microsoft SQL Server
从 action Database 配置您的设备和连接 package,以通过 Windows NT 身份验证自动连接到 Microsoft SQL Server。
此任务只适用于 Build 9664 之前的版本。从 Build 9664 开始,不再需要手动添加 DLL 文件就可以连接到 Microsoft SQL Server。
过程
要对与 Microsoft SQL Server 的连接使用 Windows NT 身份验证,请执行以下步骤:
后续步骤
- Use the Read from action to retrieve records from the database.
- If you are automating a task that involves making changes to the database,
insert the Begin database transaction
action.
This action ensures that all records are updated or deleted in their entirety, and prevents accidental updates or deletions of incomplete data if the bot encounters an error during run time.