| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> oracle >> Oracle shu ju ku SQLPLUS zhong ji ge chang yong set yu ju
 

Oracle shu ju ku SQLPLUS zhong ji ge chang yong set yu ju

2008-07-29 06:19:18 编辑來源:互联网 评论
 
本文为【Oracle数据库SQLPLUS中几个常用set语句】的拼音翻译版
  zai da jia xie jiao ben de shi hou , wo men chang chang yong set yu ju zai she zhi yi xie xu yao de ge shi gui fan 。 xia mian , lie ju le ji ge chang jian set yu ju de ying yong 。
  SQL> set echo on————————————————— she zhi yun xing ming ling shi shi fou xian shi yu ju
  SQL> set feedback on———————————————- she zhi xian shi “ yi xuan ze XX xing ”
  SQL> set colsep | ————————————————— she zhi lie yu lie zhi jian de fen ge fu hao
  SQL> set pagesize 10———————————————– she zhi mei yi ye de xing shu
  SQL> SET SERVEROUTPUT ON——————————- she zhi yuan xu xian shi shu chu lei si dbms_output.putline
  SQL> set heading on———————————————— she zhi xian shi lie ming
  SQL> set timing on————————————————– she zhi xian shi “ yi yong shi jian :XXXX”
  SQL> set time on—————————————————– she zhi xian shi dang qian shi jian
  SQL> set autotrace on———————————————– she zhi yuan xu dui zhi xing de sql jin xing fen xi
  00:38:28 SQL> set echo on
  00:38:37 SQL> @E:echo.sql
  00:38:41 SQL> select status from v$datafile where rownum<6;
  STATUS
  -------
  SYSTEM
  ONLINE
  ONLINE
  ONLINE
  ONLINE
  yi xuan ze 5 xing 。
  yi yong shi jian : 00: 00: 01.08
  00:38:43 SQL> set echo off
  00:38:58 SQL> @E:echo.sql
  STATUS
  ——-
  SYSTEM
  ONLINE
  ONLINE
  ONLINE
  ONLINE
  yi xuan ze 5 xing 。
  yi yong shi jian : 00: 00: 01.09
  00:39:08 SQL>
  SQL> set feedback on
  SQL> set colsep |SQL> set pagesize 10
  SQL> set serveroutput onSQL> set heading on
  SQL> set timing on
  SQL> set time on00:54:11
  SQL> SELECT FILE#, STATUS, ENABLED FROM V$DATAFILE;
  FILE#|STATUS |ENABLED———-|——-|———-
  1|SYSTEM |READ WRITE
  2|ONLINE |READ WRITE
  3|ONLINE |READ WRITE
  4|ONLINE |READ WRITE
  5|ONLINE |READ WRITE
  6|ONLINE |READ WRITE
  7|ONLINE |READ WRITE
  FILE#|STATUS |ENABLED———-|——-|———-
  9|ONLINE |READ WRITE
  10|ONLINE |READ WRITE
  11|ONLINE |READ WRITE
  12|ONLINE |READ WRITE11 rows selected.
  Elapsed: 00:00:01.0700:54:34
  SQL> DECLARE
  00:55:00 2 BEGIN
  00:55:00 3 DBMS_OUTPUT.PUT_LINE(’===This is dbms_output.put_line!===’);
  00:55:00 4 END;
  00:55:02 5 /
  ===This is dbms_output.put_line!===
  PL/SQL procedure successfully completed.
  Elapsed: 00:00:00.0200:55:05 SQL>
  SQL> set autotrace on
  SQL> SELECT E.LAST_NAME, D.DEPARTMENT_NAME, D.LOCATION_ID
  2 FROM HR.EMPLOYEES E
  3 JOIN HR.DEPARTMENTS D
  4 USING (DEPARTMENT_ID);
  LAST_NAME DEPARTMENT_NAME LOCATION_ID
  ————————- —————————— ———–
  King Executive 1700
  Kochhar Executive 1700
  De Haan Executive 1700
  Hunold IT 1400
  Ernst IT 1400……
  106 rows selected.
  Execution Plan
  ———————————————————-
  0 SELECT STATEMENT Optimizer=CHOOSE (Cost=5 Card=106 Bytes=318
  0)
  1 0 HASH JOIN (Cost=5 Card=106 Bytes=3180)
  2 1 TABLE ACCESS (FULL) OF ‘DEPARTMENTS’ (Cost=2 Card=27 Byt
  es=513)
  3 1 TABLE ACCESS (FULL) OF ‘EMPLOYEES’ (Cost=2 Card=107 Byte
  s=1177)
  Statistics
  ———————————————————-
  7 recursive calls
  0 db block gets
  23 consistent gets
  12 physical reads
  0 redo size
  2801 bytes sent via SQL*Net to client
  580 bytes received via SQL*Net from client
  9 SQL*Net roundtrips to/from client
  0 sorts (memory)
  0 sorts (disk)
  106 rows processed
  SQL>【原文】【汉音对照
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

如何磨出破洞牛仔裤?牛仔裤怎么剪破洞?

把牛仔裤磨出有线的破洞 1、具体工具就是磨脚石,下面垫一个硬物,然后用磨脚石一直磨一直磨,到把那块磨薄了,用手撕开就好了。出来的洞啊很自然的。需要猫须的话调几...

我就是扫描下图得到了敬业福和爱国福

先来看下敬业福和爱国福 今年春节,支付宝再次推出了“五福红包”活动,表示要“把欠大家的敬业福都还给大家”。 今天该活动正式启动,和去年一样,需要收集“五福”...

冰箱异味产生的原因和臭味去除的方法

有时候我们打开冰箱就会闻到一股异味,冰箱里的这种异味是因为一些物质发出的气味的混合体,闻起来让人恶心。 产生这些异味的主要原因有以下几点。 1、很多人有这种习...

 
 
zai da jia xie jiao ben de shi hou , wo men chang chang yong set yu ju zai she zhi yi xie xu yao de ge shi gui fan 。 xia mian , lie ju le ji ge chang jian set yu ju de ying yong 。 SQL> set echo on————————————————— she zhi yun xing ming ling shi shi fou xian shi yu ju SQL> set feedback on———————————————- she zhi xian shi “ yi xuan ze XX xing ” SQL> set colsep | ————————————————— she zhi lie yu lie zhi jian de fen ge fu hao SQL> set pagesize 10———————————————– she zhi mei yi ye de xing shu SQL> SET SERVEROUTPUT ON——————————- she zhi yuan xu xian shi shu chu lei si dbms_output.putline SQL> set heading on———————————————— she zhi xian shi lie ming SQL> set timing on————————————————– she zhi xian shi “ yi yong shi jian :XXXX” SQL> set time on—————————————————– she zhi xian shi dang qian shi jian SQL> set autotrace on———————————————– she zhi yuan xu dui zhi xing de sql jin xing fen xi 00:38:28 SQL> set echo on 00:38:37 SQL> @E:echo.sql 00:38:41 SQL> select status from v$datafile where rownum<6; STATUS ------- SYSTEM ONLINE ONLINE ONLINE ONLINE yi xuan ze 5 xing 。 yi yong shi jian : 00: 00: 01.08 00:38:43 SQL> set echo off 00:38:58 SQL> @E:echo.sql STATUS ——- SYSTEM ONLINE ONLINE ONLINE ONLINE yi xuan ze 5 xing 。 yi yong shi jian : 00: 00: 01.09 00:39:08 SQL> SQL> set feedback on SQL> set colsep |SQL> set pagesize 10 SQL> set serveroutput onSQL> set heading on SQL> set timing on SQL> set time on00:54:11 SQL> SELECT FILE#, STATUS, ENABLED FROM V$DATAFILE; FILE#|STATUS |ENABLED———-|——-|———- 1|SYSTEM |READ WRITE 2|ONLINE |READ WRITE 3|ONLINE |READ WRITE 4|ONLINE |READ WRITE 5|ONLINE |READ WRITE 6|ONLINE |READ WRITE 7|ONLINE |READ WRITE FILE#|STATUS |ENABLED———-|——-|———- 9|ONLINE |READ WRITE 10|ONLINE |READ WRITE 11|ONLINE |READ WRITE 12|ONLINE |READ WRITE11 rows selected. Elapsed: 00:00:01.0700:54:34 SQL> DECLARE 00:55:00 2 BEGIN 00:55:00 3 DBMS_OUTPUT.PUT_LINE(’===This is dbms_output.put_line!===’); 00:55:00 4 END; 00:55:02 5 / ===This is dbms_output.put_line!=== PL/SQL procedure successfully completed. Elapsed: 00:00:00.0200:55:05 SQL> SQL> set autotrace on SQL> SELECT E.LAST_NAME, D.DEPARTMENT_NAME, D.LOCATION_ID 2 FROM HR.EMPLOYEES E 3 JOIN HR.DEPARTMENTS D 4 USING (DEPARTMENT_ID); LAST_NAME DEPARTMENT_NAME LOCATION_ID ————————- —————————— ———– King Executive 1700 Kochhar Executive 1700 De Haan Executive 1700 Hunold IT 1400 Ernst IT 1400…… 106 rows selected. Execution Plan ———————————————————- 0 SELECT STATEMENT Optimizer=CHOOSE (Cost=5 Card=106 Bytes=318 0) 1 0 HASH JOIN (Cost=5 Card=106 Bytes=3180) 2 1 TABLE ACCESS (FULL) OF ‘DEPARTMENTS’ (Cost=2 Card=27 Byt es=513) 3 1 TABLE ACCESS (FULL) OF ‘EMPLOYEES’ (Cost=2 Card=107 Byte s=1177) Statistics ———————————————————- 7 recursive calls 0 db block gets 23 consistent gets 12 physical reads 0 redo size 2801 bytes sent via SQL*Net to client 580 bytes received via SQL*Net from client 9 SQL*Net roundtrips to/from client 0 sorts (memory) 0 sorts (disk) 106 rows processed SQL>
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
我们约会吧
漂亮白皙的模特
好纯好美的女生
靓丽的网络美女
痞子的甘南日记
疑是银河落九天
雪域坝上四——纯美色
冬日恋歌——西城杨柳弄轻柔
 
>>返回首页<<
 为你推荐
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
©2005- 王朝网络 版权所有