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 the use of prepared statement?
what is the difference between rownum pseudo column and row_number() function? : Sql dba
Why we use triggers in mysql?
Explain the difference between 'between' & 'and' operators in sql
Why sql query is slow?
What is the difference between truncate and drop statements?
what is the syntax used for partition in tsql? : Transact sql
What is example of database?
Can a foreign key have a different name?
How to process query result in pl/sql?
Hello All, Could any well write a query for the following scenario. Account(table name) No Name Amount 1 ABCD 2000.00 2 DEFG -2000.00 3 GHIJ 3000.50 4 JKLM 4000.00 5 MNOP 6000.00 O/p Should be in this format No Name Credit Debit 1 ABCD 2000.00 0 2 DEFG 0 -2000.00 3 GHIJ 3000.50 4 JKLM 0 -4000.00 5 MNOP 6000.00 o could any one give appropriate query for this Thnks in Advance
Whis is not false in primary key?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)