[teiid-issues] [JBoss JIRA] Created: (TEIID-1692) Include an example of the LOOKUP function in the Ref Guide

Paul Nittel (JIRA) jira-events at lists.jboss.org
Mon Aug 1 12:38:23 EDT 2011


Include an example of the LOOKUP function in the Ref Guide
----------------------------------------------------------

                 Key: TEIID-1692
                 URL: https://issues.jboss.org/browse/TEIID-1692
             Project: Teiid
          Issue Type: Feature Request
          Components: Documentation
    Affects Versions: 7.4
         Environment: All
            Reporter: Paul Nittel
            Assignee: Steven Hawkins


Once again I confused myself while trying to use the LOOKUP function. The first three arguments are all quoted strings. A simple example might help demonstrate this to the reader. I believe this may work as it follows the descriptive text.

SELECT LOOKUP('ModelName.StatePostalCodes', 'StateDisplayName', 'PostalCode', Table.WhatStateMatchesThisPostalCode) AS LookedUpStateName FROM Table


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list