By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,379 Members | 1,435 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,379 IT Pros & Developers. It's quick & easy.

covert data from one table to another

karthickkuchanur
100+
P: 156
hai all
i have the table name temp which contain the value,i want to copy the data from that table to new table i had tries but it throws error


CREATE TABLE TEMP1 AS(SELECT * FROM TEMP)

iam not have the table temp1,but the above query is working in oracle please help me
Mar 22 '08 #1
Share this Question
Share on Google+
2 Replies


ck9663
Expert 2.5K+
P: 2,878
hai all
i have the table name temp which contain the value,i want to copy the data from that table to new table i had tries but it throws error


CREATE TABLE TEMP1 AS(SELECT * FROM TEMP)

iam not have the table temp1,but the above query is working in oracle please help me

try:

Expand|Select|Wrap|Line Numbers
  1. select * into newtable from yourtemptable
-- CK
Mar 22 '08 #2

karthickkuchanur
100+
P: 156
try:

Expand|Select|Wrap|Line Numbers
  1. select * into newtable from yourtemptable
-- CK
Thank u sir,i have ececuted it and working fine
Mar 22 '08 #3

Post your reply

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