Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 23rd, 2004, 06:37 AM
IronMaidenIrons IronMaidenIrons is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 18 IronMaidenIrons User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 26 sec
Reputation Power: 0
Question create a table and insert values in one command?

Hi I am trying to make a command to create a table and add constraints to a couple columns. That is fine but how can I add values to it in the same statement.

Reply With Quote
  #2  
Old February 26th, 2004, 08:31 AM
geetu geetu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: USA
Posts: 2 geetu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by IronMaidenIrons
Hi I am trying to make a command to create a table and add constraints to a couple columns. That is fine but how can I add values to it in the same statement.

I dont think you can do it in one command, simplest suggestion would be to run a script that first creates the table then inserts.

Reply With Quote
  #3  
Old February 26th, 2004, 09:12 AM
IronMaidenIrons IronMaidenIrons is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 18 IronMaidenIrons User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 26 sec
Reputation Power: 0
thanks i figured that out. teacher is trying to play trick questions to see if we know the chapter

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > create a table and insert values in one command?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT