Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
ritvik4BI
Partner - Contributor III
Partner - Contributor III

How to apply KEEP on a Cross table

Hi everyone,

I am stuck here and need some help on this.

I have two tables Table1 and Table2 and I am trying to apply a LEFT KEEP keeping in mind that I want to keep the complete Table1 and only the common fields in Table2.  But the thing is that Table2 is a cross table. So when I apply keep before Table2, it throws me an error. The thing is I cant even take resident or make a qvd of Table2 because Table2 has tens of thousands of columns and that puts unnecessary load on my server. So how to go about things here?

Thanks

 

2 Replies
edwin
Master II
Master II

a couple of comments:  your crosstable syntax may not work tag should also be in the load
10s of thousands of records is very small unless you have thousands of columns

having said that maybe what you want is to do an exists function in the where clause instead of a keep.  this way you dont need to do a resident load.