I want to concatenate a static sql statement with a dynamic string represent for some of dynamic column which have defined by another sql statement like this
select column1, column2, '|| v_select ||' from my_table. v_select have example value like column3, column4
And I use this new sql as the source of Oracle APEX interactive grid. But it only generate column1 and column2, column3, column4 couldn't generate.
Can someone can help me to resolve my problem.
Thanks a lot
How to get column values dynamically in Oracle Apex Interactive Grid
2.4k Views Asked by Thuan Le At
1
There are 1 best solutions below
Related Questions in ORACLE
- Column displays each count
- MAX and GROUP BY - SQL
- Best Practice for adding columns to a Table in Oracle database
- Updating an Oracle row with value from same row
- Retrieving data from Oracle database
- Ibatis execute update sql on oracle, it is not working and no exceptions
- Building an sql execution plan history
- Implementation of Rank and Dense Rank in MySQL
- how to update the date field for this specific condition using oracle query?
- Oracle stored procedure wrapping compile error with inline comments
- Android: How to connect oracle database using Android Java code?
- SQL Conditional Join on Columns
- Multi value wildcard search in ibatis
- Get count of consecutive days meeting a given criteria
- How to update the metadata of a layer in Oracle imported through FME Workbench?
Related Questions in PLSQL
- PLSQL Need REFCURSOR DATE + TIME
- PL SQL After Delete Trigger Not Inserting Record
- Oracle stored procedure wrapping compile error with inline comments
- How to compare multiple columns under same row in a table?
- How to find out which procedures and functions are using a table?
- How to display image in oracle form
- Oracle 11g : staging table
- 04098. "trigger '%s.%s' is invalid and failed re-validation"
- PL/SQL Check if SYSDATE is between two DATETIMES "HH24:mi"
- UTL_file: continue reading even if it encounters blank rows
- add time (char(8)) to date column
- if x not in(select y from table) in oracle
- Generate random ROWID
- Get same day of the same week last year
- Call procedure using anonymous block in pl/sql?
Related Questions in ORACLE-APEX
- Import dmp file created in Oracle 11g (WE8ISO8859P1) to Oracle 11g XE database (AL32UTF8)
- oracle apex. Create an Export Stored procedure
- Update multiple values in an oracle table using values from an APEX collection
- Adding functionality to a button at the end of each row of the interactive report
- Apex. Calling proc within htp.prn?
- Refresh SQL query while selecting node in tree every time to display results at some text area in the same page
- Showing just the legend of an Oracle Apex/AnyChart Pie Chart
- Oracle Apex dynamically enable/disable text field depending on LOV selected value
- Oracle APEX: Add list boxes on demand
- SQL error: Missing keyword?
- Apex code for inline style
- Apex Application Item is not maintained across sessions
- Oracle sql convert timestamp into format
- APEX: Adding Select List to Tabular Form and then processing based on values
- Access oracle application express from macs on the same network
Related Questions in ORACLE-APEX-20.2
- Oracle Apex Select List LOV conditional query
- 404 Not Found - When I try to run Orcale Apex Application after installation
- Oracle APEX - Obligation to upgrade in future?
- WWV_FLOW_DYNAMIC_EXEC.PARSE_AS_USER errors on multiple buttons and LOVs
- Oracle APEX Error : Page Protection Viiolation
- Oracle Apex Cards Region Rendering time
- How to include values that count nothing on certain day (APEX)
- How to convert a date to a different format without making it a varchar?
- UTL_SMTP mail send with No subject , body
- How to send multiple people the mail using UTL_SMTP
- How to get column values dynamically in Oracle Apex Interactive Grid
- How do I add validation to text area in oracle apex
- PLS-00306 : wrong number or types of arguments in call to 'SEND'
- How to reset list to blank using javascript in Oracle apex
- How to upload file as blob to my table | Oracle Apex |
Related Questions in INTERACTIVE-GRID
- In oracle apex, when I modify the data in interactive grid which has a union query, it gives me ORA-02014 error. How to handle this error?
- Oracle Apex Interactive Grid Pivot table
- Oracle Apex Select List LOV conditional query
- Enable disable records for each row in Interactive report oracle
- Lines are shifted around when creating and saving records through Add rows Button in interactive grid oracle Apex
- IG - how to register changes to cell being edited - eg. to action shortcut key (Oracle Apex Interactive Grid)
- Sorting Virtual/Created Column in Interactive Grid
- Interactive Grid column with "Function body returning PL/SQL" gives errors referencing columns (bug?)
- Set interactive grid value based on dropdown select list
- Interactive grid in modal dialog cannot be selected anymore via jQuery
- want an example/illustration use of JS aggregates function in Oracle Apex
- Oracle APEX - How to populate interactive grid using APEX collection
- Make a Report that Can Edit another Report in APEX
- Oracle Apex Interactive Grid Sum Row
- APEX Interactive Grid Alternating Row Colors
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This can only be done using a type of "Function body returning SQL Query". This doesn't need to be a function defined as such in the database, it just needs to be an anonymous pl/sql block with a
RETURNstatement. The help has some examples.Example on the sample emp/dept dataset. In the example the variable
l_additional_colshas a list of additional columns:Note that the returned select statement needs to be valid at compile time, so make sure to have a default value.