Geeks Talk

Prepare for your Next Interview




Insert in a table

This is a discussion on Insert in a table within the SQL forums, part of the Databases category; What is the best way to insert 100000 records in a table considering the performance issue. i mean data should be added in the table with least possible time....


Go Back   Geeks Talk > Databases > SQL

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-29-2008
Junior Member
 
Join Date: Jan 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
raj_imr2000 is on a distinguished road
Insert in a table

What is the best way to insert 100000 records in a table considering the performance issue.
i mean data should be added in the table with least possible time.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-04-2008
Moderator
 
Join Date: Jun 2007
Location: Bangalore,India
Posts: 1,432
Thanks: 8
Thanked 125 Times in 112 Posts
debasisdas will become famous soon enoughdebasisdas will become famous soon enough
Re: Insert in a table

You need to use FORALL statement using PL/SQL.
Reply With Quote
  #3 (permalink)  
Old 02-12-2008
Junior Member
 
Join Date: Feb 2008
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
expertsharingdotcom is on a distinguished road
Re: Insert in a table

use the insert with select clause and also use the append hint which is used for direct path insertions.

insert /*+ append */ into select ;
Reply With Quote
Reply

  Geeks Talk > Databases > SQL


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Insert new column in the middle of a table Geek_Guest SQL 19 09-22-2008 03:48 AM
insert picture to table rashinkar Oracle 7 05-28-2008 09:57 AM
Syntax to insert data in the table Geek_Guest Data Warehousing 6 09-18-2007 01:38 AM
Is it possible to insert a recode into fact table Geek_Guest Data Warehousing 1 09-04-2007 07:53 AM
How to insert data from one table to an empty table sahanai mishra Oracle Apps 1 08-11-2007 11:45 AM


All times are GMT -4. The time now is 07:34 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved