[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

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

Posted on 1998-10-27
3
Medium Priority
?
283 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 800 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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

650 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