Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
7Activity
0 of .
Results for:
No results containing your search query
P. 1
Using Variables in PL SQL

Using Variables in PL SQL

Ratings: (0)|Views: 1,076|Likes:
Published by Catalina Achim

More info:

Published by: Catalina Achim on May 26, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

08/08/2013

pdf

text

original

 
Quiz:UsingVariablesinPL/SQL1.Evaluatethefollowingdeclaration.Determinewhetherornotitislegal.DECLAREtestNUMBER(5); MarkforReview(1)Pointslegal(*)illegal2.Evaluatethefollowingdeclaration.Determinewhetherornotitislegal.DECLAREname,deptVARCHAR2(14);MarkforReview(1)Pointslegalillegal(*)Incorrect.RefertoSection2Lesson1.3.Aftertheyaredeclared,variablescanbeusedonlyonceinanapplication.TrueorFalse? MarkforReview(1)PointsTrueFalse(*)Correct4.AfunctioncalledFORMAT_TODAYS_DATEacceptsnoparametersandreturnstoday'sdateintheformat:MonthDD,YYYYThefollowinganonymousblockinvokesthefunction:DECLAREv_todayDATE;BEGIN--invokethefunctionhereWhichofthefollowingstatementscorrectlyassignsthedatevariablev_todaytothevaluereturnedbytheformat_todays_datefunction?MarkforReview(1)Pointsformat_todays_date:=v_today('MonthDD,YYYY');
 
v_today:=format_todays_date('MonthDD,YYYY');v_today:=format_todays_date(v_today);v_today:=TO_DATE(format_todays_date,'MonthDD,YYYY');(*)Incorrect.RefertoSection2Lesson1.5.Constantsmustbeinitialized.TrueorFalse? MarkforReview(1)PointsTrue(*)FalseCorrect6.Whichofthefollowingarerequiredwhendeclaringavariable?(Choosetwo.) MarkforReview(1)Points(Chooseallcorrectanswers)Identifiername(*)CONSTANTDatatype(*)NOTNULLIncorrect.RefertoSection2Lesson1.7.Examinethefollowingvariabledeclarations:DECLAREv_numberNUMBER:=10;v_resultNUMBER;Whichofthefollowingcorrectlyassignsthevalue50toV_RESULT? MarkforReview(1)Pointsv_result:=v_number*5;v_result:=100/2;

Activity (7)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Enis Gemil liked this
Enis Gemil liked this
Simona Sym liked this
shrunash liked this
shrunash liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->