OCP考试062题库出现大量新题-18

本文详细解析了使用SQL Plus客户端远程连接数据库实例时所需的两个关键条件:一是客户端侧的tnsnames.ora文件中必须定义与数据库监听器匹配的服务名;二是该服务名须在客户端侧的orcl TNS条目中被定义。文章来源于https://www.cnblogs.com/cnblogs5359/p/10783606.html。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

choose two

Examine this command executed on a client that is remote from the database server.

SQL> CONNECT hr/hr@orcl

Which two are required for this command to connect the SQLPLUS client to a database instance?

A) A service name must be defined to the listener that matches the service name in the orcl TNS entry.

B) An orcl TNS entry must be defined in the client-side tnsnames.ora file.

C) An orcl TNS entry must be defined in the client-side and server-side tnsnames.ora files.

D) The service name orcl must be defined to the listener.

E) An orcl TNS entry must be defined in the server-side tnsnames.ora file.

Answer:AB

(解析:远程连接,客户端需要配置tns,服务端要配置监听,而且对应的service要匹配。来自3组:1015267481)

转载于:https://www.cnblogs.com/cnblogs5359/p/10783606.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值