![]() |
Some questions about PL/SQL.. can any one help?
Goog evening programmers :)
^_^ I'm doing a PL/SQL project.. it is really interesting but there are some parts confusing me.. which are: 1. Can we have an IF statement inside an UPDATE statement? Can any one provide an example? 2. How do we declare a decimale variable is the statement? For example, for numeric values we write salary NUMBER(5); what about decimals? 3. How do we right an exeption inside the block? I need an example.. 4. When do we need a global variable? Thanks for those who are helping ^^ |
Re: Some questions about PL/SQL.. can any one help?
No one!
I didn't expect that ! |
Re: Some questions about PL/SQL.. can any one help?
1. Can we have an IF statement inside an UPDATE statement? Can any one provide an example?
of course, you can.... but i don't have examples because i have project in this part 2. How do we declare a decimale variable is the statement? For example, for numeric values we write salary NUMBER(5); what about decimals? about the decimal places, you should write that salary Number (5,2); <<< easy, right? that what i can help you with |
Re: Some questions about PL/SQL.. can any one help?
thanks for help dear.. ^^
you helped me a bit.. waiting for other answers.. |
| All times are GMT -5. The time now is 10:59 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC