Jump to content
The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now! See more information here ×

How do we speed up TDV querries for Salesforce which are using UNION


Naweed Raja

Recommended Posts

How do we speed up TDV querries for Salesforce which are using UNION with Seibel.

 

SELECT A.CaseNumber as TicketNumber,

A.Status as TicketStatus,

A.AccountId as Account,

A.product__c as Product,

A.Subject as ShortDescription,

A.Description as LongDescription,

A.Reason as TicketCategory,

A.CreatedDate as CreatedDate

from /shared/POC/CASE_SF A

UNION ALL

SELECT B.TicketNumber as TicketNumber,

B.TicketStatus as TicketStatus,

B.ACCOUNT as Account,

B.PRODUCT as Product,

B.ShortDescription as ShortDescription,

B.LongDescription as LongDescription,

B.TicketCategory as TicketCategory,

B.CreatedDate as CreatedDate

from /shared/POC/SeibelAll B

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...