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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to PSQL, what is the syntax for Fields with spaces

Status
Not open for further replies.

Limerick

Programmer
May 3, 2002
3
GB
Hi,
I am new to PSQL and want to run an insert into query to a table. But some of the field names have spaces between and none of the syntax I'm using seems to work.
How would I fix the following to make it work:

Insert into employees (first names)
Values
('Claire')
 
its ok,
I figured it out the query should read:
insert into employees
("first names")
values
('Claire')

Thanks for help anyway!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top