To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

HOME News MS SQL Oracle DB2 Access MySQL PHP Scripts Books Links DBA Talk


Go Back   Database Journal Forums > Related Sites > SQL Course

SQL Course SQL Course > Ask questions about the lessons on SQL Course 1 and 2. If you have problems > with the interface, please post in the Feedback forum

Reply Post New Thread
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-27-2002, 03:21 AM
Silver Starr Silver Starr is offline
Junior Member
 
Join Date: Sep 2002
Location: Dallas, Texas USA
Posts: 2
Question Newbie Needs Help

Hi All,

I am a newbie to all of this but as exciting as it seems I have found it a bit overwhelming. Which brings me to this forum.
I did read through and participate in the sql course but I am at a total loss as to how to create the actual tables on my own. If anyone can tell me exactly how and any tips you can share will be greatly appreicated.

Thanks for helping
Silver
Reply With Quote
  #2  
Old 09-27-2002, 03:51 PM
sclark sclark is offline
Administrator
 
Join Date: Aug 2002
Posts: 20
Silver,
Here are the basics of creating a table programmatically:

create table employee
(first varchar(15),
last varchar(20),
age number(3),
address varchar(30),
city varchar(20),
state varchar(20));

To create a new table, enter the keywords "create table" followed by the table name, followed by an open parenthesis, followed by the first column name, followed by the data type for that column, followed by any optional constraints, and followed by a closing parenthesis. It is important to make sure you use an open parenthesis before the beginning table, and a closing parenthesis after the end of the last column definition. Make sure you seperate each column definition with a comma. All SQL statements should end with a ";".

Hope this gets you started!
Reply With Quote
  #3  
Old 09-27-2002, 04:22 PM
Silver Starr Silver Starr is offline
Junior Member
 
Join Date: Sep 2002
Location: Dallas, Texas USA
Posts: 2
Hi,

Thanks for stopping by to help me but I suppose I should have made my question a little more clearer.
I do understand the statements, at least the ones presented in the sql course. My question is, what program or tool do I use to actually "write" the tables in?
I hope that makes it easier for someone to help me.

Thanks!!

Silver
Reply With Quote
Reply Post New Thread

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:45 PM.


DatabaseJournal Recent Articles


 » Searching and Sorting Strings in Oracle

 » Preparing To Upgrade Access Tables to SQL ...

 » Sun Expands MySQL With Closed Source

 » Microsoft Demos New SQL Server Features at...

 » Wipro and Oracle Launch First Joint Innova...

Search Database Journal:
 





Acceptable Use Policy

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.