Solved

can't use a UNION in a VIEW - workaround ?

Posted on 1998-10-27
3
264 Views
Last Modified: 2008-03-03
In Sybase 11 I can't use UNION selects (6) in a VIEW.
Anybody an idea to work around that ?
0
Comment
Question by:mmullens
  • 2
3 Comments
 

Author Comment

by:mmullens
ID: 1098379
the message returned by Sybase :
197- SET operators may not appear in the definition of a view
0
 

Author Comment

by:mmullens
ID: 1098380
Adjusted points to 200
0
 
LVL 10

Accepted Solution

by:
bret earned 200 total points
ID: 1098381
I recently posted a method of faking a view containing UNIONs (based on proxy tables in ASE 11.5) to comp.databases.sybase, you can find it if you go to http://www.dejanews.com and search for "~g comp.databases.sybase union view bret"

As written, it only works for "select *" with no where clause against the view.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

We have come a long way with backup and data protection — from backing up to floppies, external drives, CDs, Blu-ray, flash drives, SSD drives, and now to the cloud.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now