Alternative Syntax for Calling Components |
There is an alternative, simplified, syntax that can be used to call components in some cases. The syntax is: SELECT Component1.Method1(), Component2.Method2(col1, col2) FROM t1 This alternative syntax is equivalent to: SELECT (INVOKE Component1.Method1), (INVOKE Component2.Method2 WITH SELECT col1, col2) FROM t1 There are a number of restrictions that you should be aware of when considering the use of this alternative syntax:
SELECT col1 + Component1.Method1() or SELECT upper(Component1.Method2())
SELECT * from t1 WHERE col1 < Component1.Method1(col2) |