Skip to main content
Question

A function that can accept SQL statements and return the results in a table format

  • September 26, 2022
  • 3 replies
  • 237 views

Himasha Abeywickrama
Superhero (Customer)
Forum|alt.badge.img+18

Hi All,

 

One of our customers have raised following concern,

“is there a function in IFS that can accept SQL statements and return the results in a table format?”

Does anyone have an idea about this?

 

3 replies

Forum|alt.badge.img+12
  • Hero
  • 217 replies
  • September 26, 2022

@Himasha Abeywickrama 

 

I am not sure I understand the question… Does the customer want to do reporting? Performing an SQL statement and getting back data is what a Quick Report does, or one can create an IAL or Lobby data source to return data.

If you mean an Oracle facility to take any string and execute it, I would wonder why that is desirable? SQL can already perform very advanced queries where you can return almost anything you can imagine, including hierarchical, pivoted, and list-aggregated data. Throw in some WITH statements, sub-selects, and API calls and there isn’t much you can’t do.

In PL/SQL code, you can write code that returns datasets via things like dynamic querying, ref cursors, and pipelining. Is that what they are referring to?

 

Joe Kaufman


DHCRADPA
Sidekick (Customer)
Forum|alt.badge.img+8
  • Sidekick (Customer)
  • 77 replies
  • February 7, 2023

Search QUICK REPORTS .. these are lists based on SQL statements. 


Forum|alt.badge.img+2
  • Do Gooder (Employee)
  • 3 replies
  • August 16, 2023

Pivoting is the answer

Jari


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings