I work with an application that uses an Oracle Database to administer its data. Within the application we have a form that searches data from the database and surfaces up the results. Often times, I use the results from the search dialogue to confirm the the SQL queries I build to ensure I am getting correct results.
I got to thinking that there must be SQL's being run the in the background that queries the database when someone uses the search form. If I am correct, how would I go about finding those queries? Is there a logical place I can find them? (I use SQL Developer mostly to access the database). Are they even stored in the database? Stored in the application? Stored somewhere else? Would this be dependent upon how the application was designed?
This is a case of 'I don't know what I don't know'.
I have reached out to the manager of the application and this person kinda shrugged their shoulders and didn't know either. We do have a contractor that manages the database but because we bill them every time we ask them for something, I have been told not to ask for this. Any thoughts are appreciated.