Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select * into tblname? 1

Status
Not open for further replies.

vadimg

IS-IT--Management
Oct 25, 2001
152
US
is there an Oracle equivalent of SQL Server's:

select * into new_table from other_table where blah blah?

i want to create a new table with the same schema as 'other_table'

thanks.
 
Hi,
Create table table_name as
Select * from other_table;

[profile]

ps - in Oracle the structure of a table is not its schema - A schema is something that 'owns' objects in the database instance.( usually associated with a user)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top