select CustTable.ACCOUNTNUM, SubscriberType.DISPLAYVALUE as SubscriberType
from CustTable
left outer join DIMENSIONATTRIBUTEVALUESETITEM AS SubscriberType ON SubscriberType.DIMENSIONATTRIBUTEVALUESET = CUSTTABLE.DEFAULTDIMENSION
left outer join DIMENSIONATTRIBUTEVALUE ON DIMENSIONATTRIBUTEVALUE.RECID = SubscriberType.DIMENSIONATTRIBUTEVALUE
left outer join DIMENSIONATTRIBUTE ON DIMENSIONATTRIBUTE.RECID = DIMENSIONATTRIBUTEVALUE.DIMENSIONATTRIBUTE and DIMENSIONATTRIBUTE.NAME = 'SubscriberType'
Monday, February 9, 2015
SQL query to extract financial dimension value from CUSTTABLE
The following SQL query can be used to extract a financial dimension value from the CUSTTABLE table:
Subscribe to:
Post Comments (Atom)
Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next.. FXGM ZA review
ReplyDelete