站内搜索: 请输入搜索关键词

当前页面: 开发资料首页Eclipse 专题Eclipse3.0配置SQLExplorer访问数据库 -10

Eclipse3.0配置SQLExplorer访问数据库 -10

摘要: Eclipse3.0配置SQLExplorer访问数据库 -10
<tr> <td> <tr> <td colspan="3">IT技术资料馆|开发工具|Eclipse资料|Eclipse3.0配置SQLExplorer访问数据库 -10</td> </tr> <tr> <td height="38" colspan="3" align="center">

Eclipse3.0配置SQLExplorer访问数据库 -10

</td> </tr> <tr> <td colspan="3" align="center"></td> </tr> <tr> <td colspan="3" class="text">

  如图18所示,SQL Editor 中显示了从表 Catalog 中提取数据的缺省查询语句。注意:显示在 SQL Editor 中的 SELECT 查询语句的结尾没有分号(;)。

图 18. Select 查询语句

  查询语句可能被定制为只显示表格中的几列数据。比如,修改 Select 语句使其显示除了 CatalogId 列的其他所有列。选择 Execute SQL 按扭来运行 SQL 脚本。由修改后的 select 语句得到的数据显示在 SQL Results 框中,如图19所示。

图 19. 使用定制的 SELECT 查询语句提取表中数据

  接下来,SQL Editor 中的一条 SQL 脚本将会更新表 Catalog。例如,把标题“Five Favorite Features from 5.0”修改为“New Features in JDK 5.0”。如图20所示,在 SQL Editor 中运行更新表 Catalog 的脚本

图 20. 更新 SQL 脚本





</td> </tr> <tr>
↑返回目录
前一篇: Eclipse3.0配置SQLExplorer访问数据库 -11
后一篇: Eclipse3.0配置SQLExplorer访问数据库 -9