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!

Need help with view creation

Status
Not open for further replies.

dgillz

Instructor
Mar 2, 2001
10,043
US
I am trying to create a view in P.SQL 2000i and I am getting an error message when I hit OK or Applu, but not when I hit check syntax. here is my error message:

[Pervasive][ODBC Client Interface][Pervasive][ODBC Engine Interface]Syntax Error: CREATE VIEW &quot;IndyHeart&quot; AS SELECT mn_no, sb_no, dp_no, trx_dt as dist_dt, trx_amt as dist_amt, job_no FROM GLTRXHST_SQL unionSELECT mn_no<< ??? >>, sb_no, dp_no, dist_dt, dist_amt, job_no FROM APDISFIL_SQL

Any ideas where my problem is and why am I getting the error?


Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
 
You can't have Unions in Views with Pervasive.SQL 2000i.

info@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top