Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > Oracle
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 4th, 2005, 05:10 AM
Registered User
 
Join Date: Aug 2004
Location: kancheepuram, tamil nadu, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating table with existing table without value

Hi to ALL !
              In oracle9i how to create table structure
with existing table without value of existing table?

Thanks.
Kumar j.
  #2 (permalink)  
Old January 4th, 2005, 06:12 AM
Registered User
 
Join Date: Dec 2004
Location: Chennai, TN, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to maneeshgautam Send a message via MSN to maneeshgautam Send a message via Yahoo to maneeshgautam
Default

Hi Kumar,

Please try this,

CREATE TABLE NEWTABLENAME AS
SELECT * FROM OLDTABLENAME WHERE 1=2;

Thanks and regards
-Maneesh

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace and existing table with an updated one amerk20 Access VBA 6 August 30th, 2005 07:44 AM
Add an attribute to existing table peter_budo SQL Language 9 April 24th, 2005 01:35 PM
insert value of variable into an existing table mountaindew7612 SQL Server 2000 5 October 16th, 2004 12:48 PM
Enable auto numbering in an existing table pankaj_daga Oracle 1 June 30th, 2004 05:02 PM
select into non-temp table? (existing) nlicata SQL Server 2000 3 November 7th, 2003 02:11 PM



All times are GMT -4. The time now is 06:30 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.