Tag Archives: SQL

使用JDBC获取DB2的所有表(getTables)

直接使用metadata.getTables似乎不能获取DB2中指定Database下的所有Table, 但可使用如下语句获取:
"SELECT CREATOR,NAME FROM SYSIBM.SYSTABLES WHERE CREATOR NOT LIKE ‘SYS%&#

More…

Posted in DB | Tagged , , , | Leave a comment

SQL Reserved Words Checker – SQL保留字查询

支持数据库:

SQL Server, MySQL, PostgreSQL, Oracle, DB2, ANSI SQL, ODBC

地址:http://www.petefreitag.com/tools/sql_reserved_words_checker/

演示: 

image

Posted in 其他技术 | Tagged , | Leave a comment

从简单词汇开始理解ERWin:Attribute, Entity, Logical Model, Physical Model, Domain, Cardinality

1. Attribute : [普] 属性, 品质, 特征
Represents[表现,描绘] a type of characteristic or property with a set of real or abstract things(People, Places, Events and

More…

Posted in 计算机英语 | Tagged , , | 1 Comment

MySQL中的连接 Join In MySQL

有两个表,如下:
mysql> SELECT * FROM Class; +———-+——–+ | Class_ID | Name   | +———-

More…

Posted in 其他技术 | Tagged , , | Leave a comment

MySql中常用SQL语句总结

使用工具: phpMyAdmin, MySQLBroswer, 命令提示行[Windows下须将mysql目录中的bin添加到环境变量PATH中].
1. 连接的建立与退出:
mysql –u root –p 或登陆后直接选定某数据库 mysql –u root –p [数据库名称]

More…

Posted in 其他技术 | Tagged , | Leave a comment