[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

Oracle Set operators (union, minus, etc) can not handle blobs

Asked by ClassicCPLus in PL / SQL, Oracle Database, Oracle 10.x

Tags: Oracle Set operator union can not handle blobs. Help rewriting it using OR

I need to rwrite this query using  an OR rather than a union. I have never done that and need help on how to do it. I've been looking on Oracle PL/SQL programming book by Steven Fewerstein but have not found a good example or a good explanation on how to do it.

Your help is greatly appreciated, thanks experts!.

Select Trim(s.last_name)||', '||Trim(s.first_name) As Name, program_cd as Program, photo From sis.student_facts s, sis.rosa r, blkbrd.blkbrd_people b, sis.name n, blkbrd.photo_v v Where r.term = 'xxxx' and r.class IN ('xxxx') and s.person_id = r.person_id and b.match_ssn = trim(n.ssn) and s.person_id = b.person_id and r.person_id= b.person_id and v.person_id = r.person_id and v.person_id = b.person_id union SELECT Trim(n.last_name)||', '||Trim(n.first_name) As Name, ts.billing_program_cd AS Program, photo from blkbrd.blkbrd_people b, sis.name n, sis.SACT S,sis.term t, sis.tsta ts, blkbrd.photo_v v WHERE(b.match_ssn = Trim(n.ssn)) and S.person_id = N.person_id AND S.activity_cd IN (xxxx) and term_begin_dt <= s.activity_end_dt and term_end_dt >= s. activity_begin_dt and t.term ='xxxx' and ts.term = t.term and ts.person_id=n.person_id and v.person_id = n.person_id and v.person_id = s.person_id order by 3;


[+][-]08/31/09 12:29 PM, ID: 25225610Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: PL / SQL, Oracle Database, Oracle 10.x
Tags: Oracle Set operator union can not handle blobs. Help rewriting it using OR
Sign Up Now!
Solution Provided By: MikeOM_DBA
Participating Experts: 3
Solution Grade: A
 
[+][-]08/31/09 05:59 PM, ID: 25227768Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/01/09 06:09 AM, ID: 25231158Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/01/09 06:12 AM, ID: 25231174Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/01/09 07:27 AM, ID: 25231911Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/01/09 07:29 AM, ID: 25231945Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/01/09 07:38 AM, ID: 25232042Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/01/09 11:49 AM, ID: 25234683Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]09/01/09 12:45 PM, ID: 25235185Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/01/09 04:59 PM, ID: 25237247Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_EXPERT_20070906