473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

insertion with quick performence

Hi,

I have a lackhs of records in one table. In this table count will be increased automatically daily basis. At this same level I have one more copy table for this one not containing the records, It is empty table, but having the same structure of above.
I would like to insert the first one's date to this one.

How can I insert very fastly the second one.


Regards
Sundar
Jun 8 '07 #1
2 1124
r035198x
13,262 8TB
Hi,

I have a lackhs of records in one table. In this table count will be increased automatically daily basis. At this same level I have one more copy table for this one not containing the records, It is empty table, but having the same structure of above.
I would like to insert the first one's date to this one.

How can I insert very fastly the second one.


Regards
Sundar
Do you want to insert the date or the data? i.e Do you want to duplicate a table or to copy just one column of a table into another.
Jun 8 '07 #2
debasisdas
8,127 Expert 4TB
if u want the second table with exact same structure and record then u can do two things.

1.create table2 as select * from table 1;

or

2.insert into table2 select * from table1;


since u alredy have a table with similar structure use the 2nd method.
Jun 8 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Tom | last post by:
Hi I am looking for an optimal data-structure in order to replace a map<int,float>. I use it as some kind of sparse array representation. The facts: - the population in the data-structures...
20
by: Patrick Guio | last post by:
Dear all, I have some problem with insertion operator together with namespace. I have a header file foo.h containing declaration of classes, typedefs and insertion operators for the typedefs in...
5
by: John N. | last post by:
Hi All, Here I have a linked list each containing a char and is double linked. Then I have a pointer to an item in that list which is the current insertion point. In this funtion, the user...
5
by: Am | last post by:
hi i came to know that microsoft improved the efficiency of quick sort by using a cutoff of 8 elements and continuing with insertion sort then, do anybody have the details about it please...
11
by: Am | last post by:
hi i came to know that microsoft improved the efficiency of quick sort by using a cutoff of 8 elements and continuing with insertion sort then, do anybody have the details about it please...
4
by: Andrix | last post by:
Hi, I have a table with 20.000.000 of tuples. I have been monitoring the performance of the insertion and updates, but not convince me at all. The table have 30 columns, what and 12 of it, are...
4
by: bhushanvinay | last post by:
i have a single souce table , Table a With contiains records for two different entries for the same vendor by different accounting instructions, BidId = 10,Person Name=ABC,PersonBidAmt=$100...
6
by: Julia | last post by:
I am trying to sort a linked list using insertion sort. I have seen a lot of ways to get around this problem but no time-efficient and space-efficient solution. This is what I have so far: ...
0
by: Jon Paal [MSMD] | last post by:
anyone have a quick example of using insertion point of data with MSWC.Tools ? e.g. how can I send data to "div" tag ? Set oTools = Server.CreateObject("MSWC.Tools" ) oTools.processForm...
9
by: python_newbie | last post by:
I don't know this list is the right place for newbie questions. I try to implement insertion sort in pyhton. At first code there is no problem. But the second one ( i code it in the same pattern i...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.