Monday, March 3, 2014

Making Sub Query as Field in PS Query

Below are the steps to make sub query as Field in PS Query


1) Create an SQL object with your Sub Query
2) Add an expression using %sql() Meta Construct variable
    EX:  %sql(Your SQL Object Name)
3) Add expression as a field
4) Save PS Query..

5 comments:

  1. Hi,

    I tried the above method however application is still giving error as 'FROM clauses are not allowed in expressions (50,536)'

    Did i miss anything :(

    Thanks

    ReplyDelete
  2. I believe this is not possible in latest version 8.54

    ReplyDelete
    Replies
    1. Hi, This is not possible post 8.53, thanks :)

      Delete