Creation of VIEWS not working....

From: Thomas Adam <thomas_adam16(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Creation of VIEWS not working....
Date: 2003-02-03 12:59:33
Message-ID: 20030203125933.59097.qmail@web41109.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Dear List,

This is my first post to the list, so forgive me if my
etiquette is not correct, or this question has been
answered before.

I'm trying to convert an Oracle SQL script to
postgresql. I have everything working in the script,
except for the last part -- the creation of views. I
get an error near the "CUSTNAME", and I don't know
why. Is the syntax incorrect? I haven't altered this
part yet. Thus it is the original code from the
SQL*PLUS oracle database, which works.

I have attached the file I'm trying to run. The Create
View statement is at the bottom. If anyone can help,
I'd appreciate it :-)

(SEE ATTACHED: emp.sql)

Many Thanks,

-- Thomas Adam

=====
Thomas Adam

"The Linux Weekend Mechanic" -- www.linuxgazette.com

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

Attachment Content-Type Size
emp.sql text/plain 21.0 KB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Elielson Fontanezi 2003-02-03 13:12:51 st.executeQuery("SELECT NEXTVAL('seq_suporte') AS valor");
Previous Message B. van Ouwerkerk 2003-02-03 12:08:04 Re: List online archives and spam

Browse pgsql-novice by date

  From Date Subject
Next Message pginfo 2003-02-03 13:37:42 Re: Sun J2EE server (default with J2EE package) + PostgreSQL
Previous Message Insyde 2003-02-03 10:52:26 Re: Problem when adding an existing primary key