For the Query Database Smart Service, it looks like it doesn't allow an aste

Certified Senior Developer
For the Query Database Smart Service, it looks like it doesn't allow an asterisk (*) anywhere within the SQL statement field. The problem I'm running into is that I need to do a multiplication function within the SQL.
How do would we do multiplication in that SQL Statement box without using the asterisk?

OriginalPostID-152904

OriginalPostID-152904

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer
    So I was able to get around this by using the a!query rule in SAIL, and then by applying the math funtion using the index(where(search())) to the result set.
    So I have:

    local!AllDetails: a!queryEntity()...
    ...
    local!filter: index(
    local!AllDetails.data,
    where(
    search(
    180*tan(45)*cos(local!AllDetails.data.field),
    180*tan(45)*cos(local!AllDetails.data.field)
    )
    )
    )
Reply
  • 0
    Certified Senior Developer
    So I was able to get around this by using the a!query rule in SAIL, and then by applying the math funtion using the index(where(search())) to the result set.
    So I have:

    local!AllDetails: a!queryEntity()...
    ...
    local!filter: index(
    local!AllDetails.data,
    where(
    search(
    180*tan(45)*cos(local!AllDetails.data.field),
    180*tan(45)*cos(local!AllDetails.data.field)
    )
    )
    )
Children
No Data