Ho to insert no. of records at a time..i mean i want to
insert 100 records at a time into a table
Answer Posted / selvaraj v
In oracle 10g :
---------------->
Step 1 : SQL> CREATE TABLE identity( ID NUMBER);
Step2 : Write a Simple Procedure for to insert values into
table.
DECLARE
i NUMBER;
BEGIN
FOR i IN 1..100 LOOP
INSERT INTO identity VALUES(i);
END LOOP;
END;
/
PL/SQL procedure successfully completed.
Step 3 : SELECT COUNT(*) FROM identity;
COUNT(*)
----------
100
Please check it. Works fine.
PL/SQL procedure successfully completed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
hi friends i completed b.com 2004.i have 3y accounting exp. in manufacturing company.now i have completed oracle finance.pls suggest me how will get job in oracle.can i get job in oracle.
What do you mean by cdb and pdb in oracle 12c?
Can you tell me how to add new column in existing views?how?How is possible?
How to count groups returned with the group by clause in oracle?
How to work with data objects interactively?
Can we store pictures in the database and if so, how it can be done?
what is port in oracle? how is it related to database application.
What is object data modeling?
How many anonymous blocks can be defined?
I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database
What is an oracle table?
Explain database link?
How to turn on or off recycle bin for the instance?
Query to retrieve record for a many to many relationship ?
How would you best determine why your MVIEW couldnt FAST REFRESH?