How to execute multiple sql statements in a single annonymous
block irrespective of the sql statement result?
Answers were Sorted based on User's Feedback
Answer / krina
we can execute multiple sql statement inside the procedure
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gourav joshi
hi,
For eg u want to insert 3 data at a same time so u can use
annonyoums block for eg emp_id,Name,Salary u want to insert
data in a table u can use this annoynomous blck
Begin
Insert into table name values(1, 'gourav',2000);
Insert into table name values(2, 'joshi',6000);
Insert into table name values(3, 'ram',4000);
end;
then execute
| Is This Answer Correct ? | 0 Yes | 1 No |
how to eliminate null values in a column i.e table vlaues 1 2 3 NULL 3 4 1 5 NULL i want output like this 1 2 3 3 4 1 5 i dnt want to use nvl is null and i dnt want replace the NULL value with any value i.e nvl(col,o);
what is the command for user data type?
How is a PL/SQL code compiled?
how to create a table index in mysql? : Sql dba
how can you create an empty table from an existing table? : Sql dba
how to see the create table statement of an existing table? : Sql dba
What does where 1 1 mean in sql?
What is difference between sql and excel?
What does the acronym acid stand for in database management?
How do you create a db file?
Why is pl sql needed?
Is mariadb a nosql database?
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)