What are the components of a PL/SQL block ?
Answers were Sorted based on User's Feedback
Answer / a.jyothsna
Declare section
---
declaring the variables
---
Begin section
---
executable statements
---
Exception section
---
exception handlers
---
end;
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / nishi
Declare section
---
declaring the variables
---
Begin section
---
executable statements
---
Exception section
---
exception handlers
---
end;
Is This Answer Correct ? | 1 Yes | 0 No |
declare
cursor
user defined exception
variable
begin
sql statement
plsql statement (application wise/business logic)
exception
end;
Is This Answer Correct ? | 0 Yes | 0 No |
What is t sql in sql server?
How does a covering index work?
What is sap sql anywhere?
What are the two types of exceptions.
What does where 1 1 mean in sql?
What is data control language (dcl)?
Practice 1: Changes to data will only be allowed on tables during normal office hours of 8.45 in the morning until 5.30 in the afternoon, MONDAY through FRIDAY. A. Create a procedure called SECURE_DML that prevents the DML statement from executing outside of normal office hours, returning the message: “you may only make changes during normal office hours” b. Create a statement trigger on the PRODUCT table which calls the above procedure. c. Test it by inserting a new record in the PRODUCT table.
why sql is used as interpreter frequently rather than a compile?
type type_name is table of varchar2(30) index by binary_integer for the above type you have to create a identifier... like identifier_name type_name; for the above type you can use the below methods..like first , last , prior, next , delege..etc...like this.. if you create a cursor...like cursor cursor_name is select * from scott.emp; is there any methods like above to use prior, fist , last , next , trim ,etc...
Which is better join or inner query?
what happens when the column is set to auto increment and you reach the maximum value for that table? : Sql dba
What is a CTE (Common Table Expression), and how is it different from a subquery?