Unix Technical Forum

Problems In Creating a Table

This is a discussion on Problems In Creating a Table within the Pgsql Performance forums, part of the PostgreSQL category; --> Hi, I'm some what new learning PSQL on my own and have some questions...I've been trying to create a ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 08:13 AM
netsurfer802@yahoo.com
 
Posts: n/a
Default Problems In Creating a Table

Hi, I'm some what new learning PSQL on my own and have some
questions...I've been trying to create
a table following the directions of a book that says to create a table
with these commands:

CREATE TABLE hobbits(
fname varchar (20)
lname varchar (20)
ssn int;

First it gives me an error of "line 42" for lname....if I chop that
line out...it says there's an error with ssn.

I really don't have a clue what these things mean.

I've also tried going on only to see some documentation on PSQL at
http://postgresql..org and got a little help there but how would one
just be able to create a simple table with two records...and also be
able to get values into those records...then display the values put
into to the tables records??

Also, what is "modtime"?



Please, go easy on lingo I'm a newbie...and thanks in advanced for any
responses.

SMC

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:05 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com