热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

SQL 面试题与答案

Test your skills through the online practice test: SQL Quiz Online Practice Test

问题 26. What are the two components of ODBC ?

1. An ODBC manager/administrator and
2. ODBC driver.

这有帮助吗? 添加评论 查看评论
 

问题 27. What is the function of a ODBC manager ?

The ODBC Manager manages all the data sources that exists in the system.

这有帮助吗? 添加评论 查看评论
 

问题 28. What is the function of a ODBC Driver ?

The ODBC Driver allows the developer to talk to the back end database.

这有帮助吗? 添加评论 查看评论
 

问题 29. What description of a data source is required for ODBC ?

The name of the DBMS, the location of the source and the database dependent information.

这有帮助吗? 添加评论 查看评论
 

问题 30. How to Retrieve Warnings?

SQLWarning objects are a subclass of SQLException that deal with database access warnings. Warnings do not stop the execution of an application, as exceptions do; they simply alert the user that something did not happen as planned. A warning can be reported on a Connection object, a Statement object (including PreparedStatement and CallableStatement objects), or a ResultSet object. Each of these classes has a getWarnings method, which you must invoke in order to see the first warning reported on the calling object




SQLWarning warning = stmt.getWarnings();

if (warning != null)

{

while (warning != null)

{

System.out.println("Message: " + warning.getMessage());

System.out.println("SQLState: " + warning.getSQLState());

System.out.print("Vendor error code: ");

System.out.println(warning.getErrorCode());

warning = warning.getNextWarning();

}

}

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。