oracle 连sql server,连接到 Oracle (OracleToSQL)

连接到 Oracle (OracleToSQL)Connect to Oracle (OracleToSQL)

01/19/2017

本文内容

使用 " 连接到 oracle " 对话框连接到要迁移的 Oracle 数据库。Use the Connect to Oracle dialog box to connect to the Oracle database that you want to migrate.

若要访问此对话框,请在 " 文件 " 菜单上选择 " 连接到 Oracle"。To access this dialog box, on the File menu, select Connect to Oracle. 如果你以前已连接,则该命令将 重新连接到 Oracle。If you have previously connected, the command is Reconnect to Oracle.

选项Options

提供程序Provider

选择用于连接到 Oracle 数据库的数据访问接口。Select the data access provider for your connection to the Oracle database. 可用的提供程序是 Oracle 客户端提供程序和 OLE DB 提供程序。Available providers are the Oracle Client Provider and the OLE DB Provider. 默认值为 Oracle 客户端提供程序。The default is Oracle Client Provider.

模式Mode

选择 "标准"、"TNSNAME" 或 "连接字符串" 模式。Select either Standard, TNSNAME, or Connection String mode.

在 "标准" 模式下,为提供程序、服务器名称、服务器端口、Oracle SID、用户名和密码输入或选择值。In Standard mode, you enter or select values for the provider, server name, server port, Oracle SID, user name, and password.

在 TNSNAME 模式下,可以输入 Oracle 数据库的连接标识符 (TNS alias) ,用户名和密码。In TNSNAME mode, you enter the connect identifier (TNS alias) of the Oracle database, user name, and password.

在连接字符串模式下,你将提供一个连接字符串。In Connection String mode, you provide a connection string.

重要

建议您不要使用连接字符串模式,因为文本可能包含密码,并以明文形式发送。We do not recommend that you use Connection String mode because the text might include passwords, and it is sent as clear text.

默认值为 "标准模式"。The default is Standard mode.

服务器名称Server name

输入 Oracle 服务器名称。Enter the Oracle server name. 默认服务器名称与计算机名称相同。The default server name is the same as the computer name. 这是一个标准模式选项。This is a Standard mode option.

服务器端口Server port

如果你使用的端口号不是 1521 (默认值为到 Oracle 的连接) ,请输入端口号。If you are using a port number other than 1521 (default) for connections to Oracle, enter the port number. 这是一个标准模式选项。This is a Standard mode option.

连接标识符Connect identifier

输入 Oracle connect 标识符。Enter the Oracle connect identifier. 这是在本地 tnsnames.ora. tnsnames.ora 文件中定义的数据库的别名。This is the alias of the database as defined in local tnsnames.ora file.

这是一个 TNSNAME 模式选项。This is a TNSNAME mode option.

Oracle SIDOracle SID

输入数据库的 SID。Enter the SID for the database. SID 是用于区分计算机上的 Oracle 数据库的标识符。The SID is an identifier that distinguishes the Oracle database on a computer. 数据库的默认 SID 是数据库名称的前八个字符。The default SID for a database is the first eight characters of the database name.

这是一个标准模式选项。This is a Standard mode option.

用户名User name

输入 SSMA 将用于连接到 Oracle 数据库的用户名。Enter the user name that SSMA will use to connect to the Oracle database.

密码Password

输入用户名的密码。Enter the password for the user name.

连接字符串Connection string

重要

建议您不要使用连接字符串模式,因为文本可能包含密码,并以明文形式发送。We do not recommend that you use Connection String mode because the text might include passwords, and it is sent as clear text.

如果使用连接字符串模式,请输入与 Oracle 的连接的完整连接字符串。If you use the Connection String mode, enter the full connection string for the connection to Oracle.

连接字符串包含参数名称和值对。Connection strings consist of parameter name and value pairs.

有关 OLE DB 连接字符串的信息,请参阅 MSDN Library 上的 Oracle 的 Microsoft OLE DB 提供程序 文章。For OLE DB connection string information, see Microsoft OLE DB Provider for Oracle article at the MSDN Library.

对于 SSMA 连接字符串,请始终包含提供程序参数。For SSMA connection strings, always include the Provider parameter. 此外,请确保在连接到 Oracle 时包含 Port 参数。Also, make sure that you include the Port parameter when you connect to Oracle.

后续步骤Next steps

The next step in the migration process is to Connect to SQL Server.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值