Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
SQL Expression TREAT example
Does anyone have an example of using the TREAT sql function?
My use case is as follows:
I have a list that has numbers as the values, however it looks like they are being treated as a record ref because I can't do aggregations on them in search. I am trying to find a way to case these refs as numerics so that I can use the aggregate functions.
Any thoughts?
0