【中华硕博网-全球500所高校指定报名中心】
【在职研究生】 【在职博士】 【MBA/EMBA】
  您现在的位置: 中华硕博网 > IT培训 > oracl > 考试认证 > 文章正文
站内搜索:

1Z0-001考题回忆 12.17

作者:硕博网    文章来源:中华硕博网    点击数:    更新时间:2008-5-3
中华硕博网(http://www.china-b.com)全球500所高校指定报名中心--1Z0-001考题回忆 12.17
into TEST(no) Values(i);
  END IF;
  COMMIT;
  END LOOP;
  ROLLBACK;
  END;
  How may values do the test table will hxdye?
  a.0 b.8 c.10 d.4
  
  6.Evaluate the following PL/SQL block
  DECLARE
  x NUMBER;
  v_sal NUMBER := 1000;
  V_found VARCHAR2(10):= 'YES'
  BEGIN
  x:=500;
  v_sal:=1000;
  DECLARE
  v_found VARCHAR2(10) := 'TRUE';
  y NUMBER;
  BEGIN
  IF v_sal>500 THEN
  v_found:='YES';
  ELSE
  null;
  END IF;
  DBMS_OUTPUT.PUT_LINE(v_sal||' '||v_found);
  y:=20
  END;
  DBMS_OUTPUT.PUT_LINE(v_sal||' '||v_found || y);
  END;
  
  What will be the output of this Block..
  a.PLS:201 identifier 'Y' must be declared
  b.value of v_sal,v_found will be displayed
  c.value of v_sal,v_found,y will be displayed
  d.PLS:201 identifier v_sal must be declared
  
  7.6.Evaluate the following PL/SQL block
  DECLARE
  x NUMBER;
  v_sal NUMBER := 1000;
  V_found VARCHAR2(10):= 'YES'
  BEGIN
  x:=500;
  v_sal:=1000;
  DECLARE
  v_found VARCHAR2(10) := 'TRUE';
  y NUMBER;
  BEGIN
  IF v_sal>500 THEN
  v_found:='YES';
  ELSE
  null;
  END IF;
  DBMS_OUTPUT.PUT_LINE(v_sal||' '||v_found);
  y:=20
  END;
  DBMS_OUTPUT.PUT_LINE(v_sal||' '||v_found || y);
  END;
  
  Why this block will show an error?
  a.the scope of variable 'y' is limited to inner block
  b.the scope of variable v_sal is limited to outer block
  c. --- d. ----
  
  

上一页  [1] [2] [3] [4] [5] 下一页

 相关热词搜索
>>更多
  • 此栏目下没有文章