string strSQL = "SELECT RUCL_MAIL_S.nextval FROM dual句中的dual代表什么呢?
解决方案 »
- win7 旗舰版下安装oracle出现12546错误
- oracle 求解
- 求助:关于oracle同义词的创建?
- 请教ORA-00001: 违反唯一约束条件应该怎么解决
- 关于表中字段的连接问题
- 如何记录用户登录使用的账号、登录是否成功、登录时间
- 将access数据追加到Oracle以后,序列如何自动累加
- 我oracle9i的服务全搞砸了,急求解决方法!!!!
- 请问各位高手有没有一种感知数据库管理系统
- 请问使用ORACLE的应用程序的客户端怎么发布啊?不会要在客户机上花600M安装ORACLE客户端吧?
- [100分]Oracle性能优化的问题
- java web工程师转oracle DBA 失败了,被裁了,怎么办啊?目前失业中......
比如select sysdate from dual
select seq1.nextval from dual
等等
insert into stu values(myid.nextval,''lili'');
就是stdu,myid,"lili"分别代表什么意义呢?
序列+触发器 ORACLE数据库没有象SQL SERVER和DB2那样直接在建表时,指定列为IDENTITY,实现列值唯一并自动增长。在多数的应用中,如果需要把某列设为自动填充的标识列,可以通过创建序列对象和触发器来实现。
dual本身就是一个单词,并非是某个词组的缩写.名词意为对数,形容词为双重的意思.在Oracle中dual指dual table,一个单行单列的虚拟表. 1: DUAL table-- a special kind of one-row and one-column database table;
2:dual is a table which is created by oracle along with the data dictionary. It consists of exactly one column whose name is dummy and one record. The value of that record is X.
3:Note that the outer query references the dummy table called dual the dual table is used in Oracle when you need to run SQL that does not logically have a table name.
参考资料:http://www.dba-oracle.com/sql/t_dual_table.htm