Can I use the SQL function while setting of passage in the links?

4.2.1

Hello

I have a report that is a hypertext link (using the column binding feature standard apex) to another page. One of the parameters (columns) I spend is a varchar column with & values. Now, there is a restriction on the passage, & in the apex in 4.2.1. I was wondering if we can use something as a replacement (COLUMN1 # #, ' & ','-')) in the connection settings?

Unfortunately, the column does not have an equivalent id that can be used.

All of the suggestions.

Thank you
Ryan

ryansun wrote:
4.2.1

Hello

I have a report that is a hypertext link (using the column binding feature standard apex) to another page. One of the parameters (columns) I spend is a varchar column with & values. Now, there is a restriction on passage and in the apex in 4.2.1. I was wondering if we can use something like a replace(#COLUMN1#,'&','-')) in the connection settings?

Unfortunately, the column does not have an equivalent id that can be used.

All of the suggestions.

Thank you
Ryan

You can create another field in your query that might contain the value "prepared" - you set this to be a hidden column in the report definition and use it in the URL.

Tags: Database

Similar Questions

  • I can't use the link 'Check the seats' on Delta when I use Firefox, but Safari works fine. I get the message "not available at this time" when you use Firefox, but when I go on Safari it works just fine.

    I can't use the link 'Check the seats' on the website of Delta Airlines when I use Firefox, but Safari works fine. I get the message "not available at this time" when you use Firefox, but when I go on Safari it works just fine. I love Firefox but it sucks!

    This problem may be caused by corrupted cookies.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Firefox > Preferences > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox > Preferences > privacy > Cookies: "show the Cookies".
  • Can I use the links list to make a selection in a finder window?

    I have a .indd with approximately 75 square graphic file. The graphics are in a folder with 150 + images. I want to delete all unused images from this folder. Is there a way to 'select these images included in the indd file in finder'? I try to avoid going back manually in a list of links to the Finder window to make this selection. (Yes, I notified the author of Please clean their records in advance, but that didn't happen and now I have 10 chapters of books with this same problem cela my motivation to solve via computer automation.)

    Select images in the links Panel and open the Panel menu. Select utilities > copy links to and browse as long as you want.

    Bob

  • I can't use the links in my emails to access internet hardware

    I get several emails a day which have links to objects on the net. For these last days, I was unable to use these links to access these items. I haven't changed any setting on my Thunderbird or Modzilla programs. Any suggestions?

    Thank you.

    https://support.Mozilla.org/en-us/KB/hyperlinks-in-messages-not-working

  • Why I can't use the nested aggregate function?

    Hello Experts,

    Why I can't use the nested aggregate function? There is not an ora-00979 group by error of expression.

    Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production

    Select

       SUM (BOX WHEN (KSD_CREATEDATE BETWEEN TRUNC((KSD_CREATEDATE)) AND TRUNC(MIN(KSD_CREATEDATE)) +60) THEN 1  ELSE 0 END) AS col

    DE TABLE_3_4

    GROUP BY STC_FIRMANO

    Thank you

    GROUP BY will manage the SUM function, but the MIN is used incorrectly - use another SELECTION to get it, or work with only with a single line. Otherwise, you could do WITH... get the SUM of SELECT MIN...

  • CAN´t, use the function "save PDF-portfolio under Web site" it is grayed out on the file menu -

    I can´t use the function "save PDF-portfolio as a site" in the file menu - it is greyed out.

    I use Windows 10 House and Acrobat DC

    Not all portfolios can be saved as a site.

    It is possible with http://blogs.adobe.com/pdfdevjunkie/wp-content/themes/Adobe_PDFDevJunkie/download/Billboar dTemplate.pdf

  • the adobe reader of adobe purchased but installed standard first pro. now, the 'pro' trial has expired and I can't use the "standard" functions

    I bought the adobe reader from adobe but installed standard first pro. now, the 'pro' trial has expired and I can't use the "standard" functions How can I solve this in order to use Adobe Standard - one that I bought?

    Hi Jodie,

    There is no standard to pro versions of Adobe Reader.

    You have downloaded the Acrobat version which is paid instead of Adobe Reader software.

    As the trial has expired, then you won't be able to use it unless you have purchased the product.

    However, you can download Adobe Reader for free using this link Adobe Acrobat Reader DC install for all versions.

    Kind regards

    Nicos

  • Can you pass a SQL function?

    I have the following function:

    CREATE OR REPLACE PROCEDURE run_query (p_sql IN VARCHAR2) IS

    v_v_val VARCHAR2 (4000);

    v_n_val NUMBER;

    v_d_val DATE;

    v_ret NUMBER;

    c NUMBER;

    d NUMBER;

    col_cnt INTEGER.

    f BOOLEAN;

    rec_tab DBMS_SQL. DESC_TAB;

    col_num NUMBER;

    v_rowcount NUMBER: = 0;

    v_csv VARCHAR2 (32000);

    BEGIN

    -create a slider

    c: = DBMS_SQL. OPEN_CURSOR;

    -analyze the SQL statement in the cursor

    DBMS_SQL. PARSE (c, p_sql, DBMS_SQL. NATIVE);

    -run the cursor

    d: = DBMS_SQL. Execute (c);

    --

    -Describe the columns that are returned by the SQL statement

    DBMS_SQL. DESCRIBE_COLUMNS (c, col_cnt, rec_tab);

    --

    -Local variables Bind to return to the different columns according to their types

    1.col_cnt J

    LOOP

    CASE rec_tab (j) .col_type

    WHEN 1 THEN DBMS_SQL. DEFINE_COLUMN (c, j, v_v_val, 2000); -Varchar2

    WHEN 2 THEN DBMS_SQL. DEFINE_COLUMN (c, j, v_n_val);      -Number

    WHEN 12 THEN DBMS_SQL. DEFINE_COLUMN (c, j, v_d_val);     -Date

    ON THE OTHER

    DBMS_SQL. DEFINE_COLUMN (c, j, v_v_val, 2000);  -Any other type of return as varchar2

    END CASE;

    END LOOP;

    -This part generates the DATA

    LOOP

    -Retrieves a row of data using the cursor

    v_ret: = DBMS_SQL. FETCH_ROWS (c);

    -Output when no more line

    WHEN OUTPUT v_ret = 0;

    v_rowcount: = v_rowcount + 1;

    -Extract the value of each column of the row

    1.col_cnt J

    LOOP

    -Fetch each column to the correct data type according to the description of the column

    CASE rec_tab (j) .col_type

    WHEN 1 THEN DBMS_SQL. COLUMN_VALUE (c, j, v_v_val);

    v_csv: = v_csv | «, » || v_v_val;

    WHEN 2 THEN DBMS_SQL. COLUMN_VALUE (c, j, v_n_val);

    v_csv: = v_csv | «, » || v_n_val;

    WHEN 12 THEN DBMS_SQL. COLUMN_VALUE (c, j, v_d_val);

    v_csv: = v_csv | «, » || TO_CHAR (v_d_val, ' DD/MM/YYYY HH24:MI:SS');

    ON THE OTHER

    DBMS_SQL. COLUMN_VALUE (c, j, v_v_val);

    DBMS_OUTPUT. Put_line (v_v_val);

    END CASE;

    END LOOP;

    dbms_output.put_line (substr(v_csv,2));

    v_csv: = ";

    END LOOP;

    DBMS_SQL. CLOSE_CURSOR (c);

    END;

    /

    It allows to feed in an arbitrary query and returned a set of data comma separated. For example:

    SQL > run_query exec ('select * from scott.emp where deptno = 10');

    7782, CLARK, MANAGER, 7839, 1981/09/06 00:00:00, 2450, 10

    7839, KING, PRESIDENT, 17/11/1981-00:00:00, 5000, 10

    7934, MILLER, CLERK, 7782, 1982/01/23 00:00:00, 1300, 10

    PL/SQL procedure successfully completed.

    SQL > exec run_query ("select * from (select * from scott.emp where deptno = 10 order by sal desc) where rownum < 5'");

    7839, KING, PRESIDENT, 17/11/1981-00:00:00, 5000, 10

    7782, CLARK, MANAGER, 7839, 1981/09/06 00:00:00, 2450, 10

    7934, MILLER, CLERK, 7782, 1982/01/23 00:00:00, 1300, 10

    (I'm not saying that it is a good practice: on the contrary.) But it is a requirement that was worth and I need to know how to cope, not arguing with it).

    My question is: the code works when the application before she includes not single quotes. As soon as he does, he died:

    SQL > run_query exec ('select 'Example', sal scott.emp where deptno = 10');

    BEGIN run_query ('select 'Example', sal scott.emp where deptno = 10'); END;

    *

    ERROR on line 1:

    ORA-06550: line 1, column 26:

    PLS-00103: encountered the symbol "EXAMPLE" when awaits an of the

    Next:

    ), * & = - + <>/ is mod remains not rem = >

    < an exponent (*) > <>or! = or ~ = > = < = <>and like2 or

    like4 likec in reports between use. Member of type multiset

    submultiset

    The symbol ", has been inserted before"EXAMPLE"to continue."

    I could of course escape quotation marks simple "internal", but the goal is for end-users to feed in their queries, without having to rewrite with delicate escape sequences!

    So the question is: is there a way I can allow users to feed their SQL in the procedure without having to worry about the single quotes that might be in the middle of it?

    Still, I realize has the risk of SQL injection... but I would like to help on the practicalities of quotes, not managing a risk which I am aware (and dealing with outside the procedural code, that I showed here).

    In other words, even if you think it's the worst idea in the world, I still want to know how I could feed 'select 'Example', sal scott.emp where deptno = 10'procedure that it is correctly.

    Is there a character that you can be reasonably confident does not appear in the SQL statement?  If so, you can probably use the q citing the syntax.  For example

    SELECT q'{select 'a', 'b', 'c' from dual}'
      FROM dual
    

    who can get applied to the call to function as well

    SQL> exec run_query( q'{select 'a', 'b', 'c' from dual}' );
    a
    b
    c
    
    PL/SQL procedure successfully completed.
    

    If you can be reasonably sure that there is no {or} character (or a number of other pairs), you can just that wrap the SQL statement.  Of course, this assumes that there is some bit of code enforcement between the user and the procedure call that can add to the {and}.  If this is the case, you could also just double apostrophes that meet you.

    Justin

  • Can you use the settings in win 7 If you switch to xp?

    Win 7 for win xp

    Can you use the settings in win 7 If you switch to xp?

    Thank you guys so much... I don't really know my question... but with these answers that you have provided me, I think I know what to do!

    You never mentioned anything on dual boot Windows 7 and XP in your question, which mentioned the other contributor.

    If you consider the above here are easy to follow Guides.

    http://www.SevenForums.com/tutorials/8057-dual-boot-installation-Windows-7-XP.html

    SECOND OPTION

    When Windows 7 is installed first

    Warning

    1. to create a new Partition on hard drive Windows 7
    NOTE: If you want to install XP on a separate internal hard drive instead, then skip this step and go to step 2.

    (A) in Windows 7, select and reduce the volume of Windows 7 in how disk management MB (1024 MB = 1 GB) you want to have the XP partition. (See screenshots below)
    NOTE: Would you do a method at this link.

    2. insert your XP installation disc, and then restart the computer and press any key to start from when you are prompted. (See screenshot below)
    NOTE: Ensure that the CD/DVD drive is selected first in the boot order in the BIOS.

    3 XP installation, press enter. (See screenshot below)

    Warning

    4. press F8. (See screenshot below)
    NOTE: On some multimedia keyboards you need to maybe press the F-Lock or key function before you press F8.

    5. select (step 1) partition or hard drive that you want to install XP on the help of the arrow keys and press ENTER.

    6 the installation of XP.

    Tip
    If you get the error loading operating system after XP is restarted:

    • Using your Windows 7 installation disc, start at the prompt at startup.
    • Type these commands below, and then press ENTER after each one.
      • Bootrec /FixMbr
      • Bootrec /FixBoot
      • Bootrec /RebuildBcd
    • Exit command prompt and restart the computer.
    • At this point, Windows 7 should start up in the same way before you try to install XP.
    • Go to step 8 below and run EasyBCD in Windows 7 instead.

    7 under XP, download and install .Net Framework 2.0 (32-bit) version or .Net Framework 2.0 (64-bit) version first and EasyBCD (free version) for your (x 86) 32-bit or 64-bit (x 86) XP.
    NOTE: In XP, Net Framework must be installed to run EasyBCD. Only 'free download for limited and non-commercial use downstairs' or 'Older Versions' to the right are free to EasyBCD. Registration is not required to download EasyBCD.

    8 run EasyBCD (free version).
    NOTE: This is necessary to fix the Windows 7 boot file and add to the list of Windows XP boot manager.

    9 on the left side of EasyBCD, click on the button Add a new entry . (See screenshot below)

    (A) in the upper part under operating system, click the Windows (see screenshot below)

    (B) to the right of Type, select Windows NT/2 k/XP/2 k 3 in the menu drop-down. (See screenshot below)


    WARNING: Don't forget to leave the box checked automatically detect the correct drive .

    (C) to the right of the name, you can leave the default value of Microsoft Windows XP under the name to display in the Windows Boot Manager, or you can type any name , you do not want to have instead. (See screenshot below)

    (D) click thedd entry has. (See screenshot below)

    10 on the left side of EasyBCD, click the Deployment of BCD , select (dot) the option install the bootloader of Windows Vista/7 on MBR and click Write MBR . (See screenshot below)

    11 closing EasyBCD.

    12 restart the computer to be able to boot from Microsoft Windows XP or Windows 7. (See screenshot below)

    Tip
    If Windows 7 does not start when selected, use the Windows 7 installation DVD to do a Startup Repair.

    That's it,

    See you soon.

  • can I use create valude function for MSSql scalar and table.

    Hello

    (1) can I use create scalar function for MSSql and function table?
    (2) is there how many type of function defined by the user in oracle 11 g express?
    (3) and I can reture 'type' any form user defined function?


    Attract sincerely

    944768 wrote:

    the answer lies in a few cases only,

    The response illustrates the basic concept of how customers need to use cursors created using PL/SQL as a layer of abstraction - SQL and this concepts adapts to ALL cases where the customer wants to Oracle via PL/SQL cursor.

    a case is,
    If my function returns only a single value, then I can use oracle 'create function' with the return type as types predefined as a whole, varchar2 etc?
    with regard to performance.

    With regard to this performance problem? And why now suddenly change the question to want to use a function to return data type number or string? How does this relate to PL/SQL to return a cursor now?

    A function can return scalar values, not scalar. A function may return atomic values (such as a unique number, or a non-scalar list of numbers). A function can return a complex data structure consisting of scalar values, not scalar.

    However, in PL/SQL function must NOT be used to read the lines of the database to cache lines in a memory of the server PL/SQL (PGA), then back to the client.

    He does not. It does not fit. It is too bloody dangerous to the overall health of the server as such code plays silly blighters with very expensive server memory.

    A PL/SQL function can also be used as guideline, returning data via expensive PGA, but via the SQL engine instead and using its slider interface (which allows output data to be "gradual" and not to return all data with a single copy of croustilleur mass of the call stack) directly. IT IS, HOWEVER, AN EXCEPTION. There is very rarely the need to make the functions PL/SQL pipeline table - and is often victims of abuse and bad demonstrated with examples of absurd code here.

  • Can I use the data dictionary tables based on RLS policy?

    Hello guys, I use the package level security line to limit certain lines to some users.

    I created several roles, I want to just enable certain roles to see all the columns, but the other roles, I'm not that they see all the lines. I mean to do this I use the session_roles table data dictionary however it did not work.

    What to do in order to not allow rows of user roles?
    Can I use the data dictionary tables in RLS?


    Thank you very much.

    Polat says:
    What to do in order to not allow rows of user roles?
    Can I use the data dictionary tables in RLS?

    Ensure that:

    SQL> CREATE OR REPLACE
      2    FUNCTION no_sal_access(
      3                           p_owner IN VARCHAR2,
      4                           p_name IN VARCHAR2
      5                          )
      6      RETURN VARCHAR2 AS
      7      BEGIN
      8          RETURN '''NO_SAL_ACCESS'' NOT IN (SELECT * FROM SESSION_ROLES)';
      9  END;
     10  /
    
    Function created.
    
    SQL> BEGIN
      2    DBMS_RLS.ADD_POLICY (
      3                         object_schema         => 'scott',
      4                         object_name           => 'emp',
      5                         policy_name           => 'no_sal_access',
      6                         function_schema       => 'scott',
      7                         policy_function       => 'no_sal_access',
      8                         policy_type           => DBMS_RLS.STATIC,
      9                         sec_relevant_cols     => 'sal',
     10                         sec_relevant_cols_opt => DBMS_RLS.ALL_ROWS);
     11  END;
     12  /
    
    PL/SQL procedure successfully completed.
    
    SQL> GRANT EXECUTE ON no_sal_access TO PUBLIC
      2  /
    
    Grant succeeded.
    
    SQL> CREATE ROLE NO_SAL_ACCESS
      2  /
    
    Role created.
    
    SQL> GRANT SELECT ON EMP TO U1
      2  /
    
    Grant succeeded.
    
    SQL> CONNECT u1@orcl/u1
    Connected.
    SQL> select ename,sal FROM scott.emp
      2  /
    
    ENAME             SAL
    ---------- ----------
    SMITH             800
    ALLEN            1600
    WARD             1250
    JONES            2975
    MARTIN           1250
    BLAKE            2850
    CLARK            2450
    SCOTT            3000
    KING             5000
    TURNER           1500
    ADAMS            1100
    
    ENAME             SAL
    ---------- ----------
    JAMES             950
    FORD             3000
    MILLER           1300
    
    14 rows selected.
    
    SQL> connect scott@orcl
    Enter password: *****
    Connected.
    SQL> GRANT NO_SAL_ACCESS TO U1
      2  /
    
    Grant succeeded.
    
    SQL> connect u1@orcl/u1
    Connected.
    SQL> select ename,sal FROM scott.emp
      2  /
    
    ENAME             SAL
    ---------- ----------
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    
    ENAME             SAL
    ---------- ----------
    JAMES
    FORD
    MILLER
    
    14 rows selected.
    
    SQL> 
    

    SY.

  • Package DBMS_ADVISOR can be used for SQL Tuning Advisor?

    Package DBMS_ADVISOR can be used for SQL Tuning Advisor?

    It seems that the DBMS_ADVISOR package is responsible for the workload and SQL Access Advisor of related tasks. Package DBMS_SQLTUNE is responsible for setting up SQL and SQL set related tasks.

    Jetq

  • Why I can't use the procedure in the select statement

    Why I can't use the procedure in the select statement

    And you may not usa a SQL function if it has out parameters

    SQL> create function myfun(p1 in out number) return number is
      2  begin
      3  p1:=1;
      4  return 2;
      5  end;
      6  /
    
    SQL> select myfun(5) from dual;
    select myfun(5) from dual
           *
    ERRORE alla riga 1:
    ORA-06572: Function MYFUN has out arguments
    

    In fact, the problem is that an output parameter is passed 'ref' and not 'val '...

    Max

  • How can I use the Variance in FR

    Hello

    How can I use the formula of variance in financial reports.

    I have in my grid 2rows


    ColumnA CloumnB Cloumnc
    1 2 4 10 total values
    2 values 1 2 3
    3

    Now I need to include a 3rd place called variance in the how I can do this.

    Please guide me the formula.

    Thank you
    I have w

    Hi, HV,.

    There is a default functions avilable in HFR to calecualate the Variance.

    To do this, you have to select the line formula or the formula column.
    in this column formla, you will be able to set these formulas

    Concerning
    Sri

  • Can I use the Time Capsule wireless for multiple computers without using it as a router?

    I am looking for an external backup for 2 computers drive.  I have a desktop iMac and MacBook Air.  I like the idea of being able to back up my MacBook Air wireless, but I need to make sure that it will work the way I need to.

    I already have a wireless router that works well for me, I don't need the time Capsule to act as a router. I'm just needing a wireless backup drive.  So, the question is, can I use the only time Capsule as a storage device for backup of wifi or do I also have to use it as a wifi router?  My fear is that the router service is not as good as the router, I currently have.  I live in a big House of 2 floors, making it very difficult to receive a strong signal throughout the House.

    can I use time Capsule only as a backup wireless storage device or do I also have to use it as a wifi router?

    Time Capsule need to connect to your router/modem existing using wired Ethernet wired, permanent.

    If you plan to use the time Capsule to back up your Mac with the help of the application Time Machine on every Mac, the Mac will have to save on the wireless signal Time Capsule for the process to be officially supported by Apple.

    While it is possible to turn off wireless on the Time Capsule and try to save it to your existing wireless network... and it pourrait work... but there will be no Apple support backup problems... so it would be a good idea to plan to use Time Capsule wireless backup purposes.

Maybe you are looking for

  • Reset my swrite question

    Dear Sir in apple, please, I need your help always reset my swrite question

  • Synchronize several USRP using Octoclock

    Hello community! I'm trying to synchronize several Ettus USRP N210 using Octoclock. I send you a short tag to a USRP to each set second (using the timestamp on board), the other USRP choices until the tag and display the time. I put the clock at PpsI

  • dlbtjswx.exe has encountered a problem and needs to close.

    This happens whenever I have print anything. How can I fix this exe file? I have a Dell AIO printer 922 on Dell Dimension 3000 Windows XP. Here are some of the technical terms used in the error report:SZ AppName: sz dlbtjswx.exe AppVer: 2.70.0.0SZ Mo

  • How to add the application menu

    Hi guys, I want to add a menu to the application. I can not get the menu. I just tried to add the menu for the lettering of calendar and I can't get any code, what could be the problem public class Main extends Application { Main() { MyMenuItem myMen

  • Ring No. blackBerry Smartphones on incoming calls with my Pearl 8130

    I have a BB 8130 Pearl.  He has stopped ringing on incoming calls. After the four regular rings, not heard by the appellant, it is going to voicemail. All I get is the notification of voicemail. I had changed the ring.  I went into the media-Ring Ton