摘要: 参考文献Autotrace 用法总结Oracleautotrace使用说明1、启用Autotrace功能。1.1.作为sys或者sysdba登陆sqlplussqlplus sys/root@orcl as sysdba1.2.运行plustrce.sql脚本@D:\app\oracle\product\11.1.0\db_1\sqlplus\admin\plustrce.sql1.3.给用户授权grant plustrace to public;注意:可以把grant命令中的public替换为某个用户。1.4.set autotrace的使用SQL> set autotrace onS 阅读全文
posted @ 2012-06-07 20:00 xwdreamer 阅读(454) 评论(0) 推荐(0)
摘要: 创建一个emp表:[SQL] create table emp as select object_id empno, object_name ename, created hiredate, owner job from all_objects 受影响的行: 53759时间: 4.172mssql解析:查询all_object表中的object_id,object_name,created和owner字段,并将其重命名为empno,ename,hiredate和job,... 阅读全文
posted @ 2012-06-07 19:33 xwdreamer 阅读(2722) 评论(0) 推荐(0)