function v and nv

Hello
I'm in an environment where there is an apex server and a database server. All built-in database objects are the link to server apex via data links. I used the function v and nv via a stored procedure like so on the server of the apex:
CREATE OR REPLACE
PROCEDURE PR_INS_TMP_STUDENTS(
v_tmp_stu_id_in     IN      NUMBER
)
IS
BEGIN
 
 
  INSERT INTO TMP_STUDENTS (
      stu_id,
      stu_name_last,
         stu_name_first,
         stu_name_middle,
         stu_name_suffix,
         stu_name_prefer_last,
      stu_name_prefer_first,
      sch_id
      )
  VALUES (
      v_tmp_stu_id_out,
      v('p50100_stu_name_last'),
      v('p50100_stu_name_first'),
      v('p50100_stu_name_middle'),
      v('p50100_stu_name_suffix'),
      v('p50100_stu_name_prefer_last'),
      v('p50100_stu_name_prefer_first'),
      nv('p50100_sch_id')
      );
 
END;
It works fine on the server of the apex, but when I moved the procedure on the database server, it didn't compile. He complains about PL/SQL: ORA-00904: "V": invalid identifier.
How can I get the function v and nv to work on the side of the database?

Hello:

The 'v' and 'nv' functions are available only on databases including the installed APEX. In addition, the functions are only when invoked on an application of the APEX.
Therefore, calling these functions on your term as your server "database" is empty.
You might want to consider changing your procedure as follows:

CREATE OR REPLACE
PROCEDURE PR_INS_TMP_STUDENTS(
v_tmp_stu_id_in     IN      NUMBER
 p_stu_name_first IN VARCHAR2,
P_ stu_name_middle IN VARCHAR2,
p_ stu_name_suffix IN VARCHAR2,
p_ stu_name_prefer_last IN VARCHAR2,
p_ stu_name_prefer_first IN VARCHAR2,
p_sch_id  IN VARCHAR2
)
IS
BEGIN

  INSERT INTO TMP_STUDENTS (
      stu_id,
      stu_name_last,
         stu_name_first,
         stu_name_middle,
         stu_name_suffix,
         stu_name_prefer_last,
      stu_name_prefer_first,
      sch_id
      )
  VALUES (
      v_tmp_stu_id_out,
      p_stu_name_first,
     p_ stu_name_middle,
     p_stu_name_suffix,
     p_stu_name_prefer_last,
      p_stu_name_prefer_first,
      p_sch_id
      );

END;

--- Call form APEX
begin
PR_INS_TMP_STUDENTS(
v_tmp_stu_id_in
 v('p50100_stu_name_last'),
      v('p50100_stu_name_first'),
      v('p50100_stu_name_middle'),
      v('p50100_stu_name_suffix'),
      v('p50100_stu_name_prefer_last'),
      v('p50100_stu_name_prefer_first'),
      nv('p50100_sch_id')
);
end

-- Call from outside APEX

begin
PR_INS_TMP_STUDENTS(
v_tmp_stu_id_in,
l_ stu_name_middle,
l_stu_name_suffix,
l_stu_name_prefer_last,
l_stu_name_prefer_first,
l_sch_id
);
end

CITY

Tags: Database

Similar Questions

  • Satellite A660 - 1 H 7 function keys and Logo lights went out

    It may seem a little ridiculous to the experience of users of Toshiba laptops, BUT I have my laptop recently and there are a few days, I've lost the lights on my (next to the power switch) function buttons and the 'objective' logo in the lower left corner.

    I don't know if I've done something to turn them off?
    Unfortunately I don't know how to get the lights back on.

    Can someone please help and tell me how (step by step if poss) to get back them.

    Thank you in advance.

    > I don't know if I've done something to turn them off?
    > Unfortunately I don't know how to get the lights back on.

    As far as I know this feature is controlled by Backlight.exe and you can find it in
    Program Files\Toshiba\TBS\Backlight.exe

    It is usually part of the VAP (value added package) to reinstall this package should help you get it working again.

    You can also assign this file exe button again with the Support of TOSHIBA Button tool

    Someone wrote in the forum:
    + When I go into "TOSHIBA button Support", I only have empty fields with the choice in the background to set "TOSHIBA Assist" or "Presentation". Empty fields are 'Description', 'Option' and 'path of the target. There is a button 'Browse' to select a program manually, but I have no idea where the exe "backlight on / off" is, when one exists. +

  • After you download the security update 2015-008 I lost the function of the function keys and some other functions. Have already played with the keyboard f nothing helps. Are also past system on and outside...

    After you download the security update 2015-008 I lost the function of the function keys and some other functions. Have already played with the keyboard f nothing helps. Are also past system on and outside... need help pls

    PS noticed the update downloaded twice

    disregard my previous question... I found the answer: F1, F2 has been ticked on.

  • My function keys and volume controls will no longer work. Help.

    I'm unable to use my function keys and my volume level is not displayed on the screen as before.  I think that maybe the software controlling the function keys and volume control screen is damaged or not loading.  HELP please.

    Hello

    Download and install HP Quick Launch Buttons on the link below.

    FTP://ftp.HP.com/pub/SoftPaq/sp49001-49500/sp49104.exe

    Once the installation is complete, restart the laptop.

    OSD volume is provided by HP MediaSmart SmartMenu, so if you still don't see display, try the method in the link below and use Recovery Manager to reinstall this app - NOTE: you need at least one other application MediaSmart must be already installed, IE HP MediaSmart DVD, before you reinstall the Menu Smart.

    http://support.HP.com/us-en/document/c01868333

    Kind regards

    DP - K

    

  • Cannot find the prototype of the function DeleteLinesFromFile and InsertlinesInFile

    Hello

    I want to remove or insert a line in a file. I want to use the function 'InsertlinesInFile' and 'DeleteLinesFromFile '. but I did not find the library to declare the prototype.

    Anyone know the library include what I need to use this function or other solutions to my problems.

    Thank you for your response.

    Stéphane SQUARE

    Hello Stéphane!

    Functions are from Server ActiveX LabWindows/CVI Interface: http://zone.ni.com/reference/en-XX/help/370051Y-01/cvi/usermanual/actxappdeletelinesfromfile/

    You can see the \activex\cvi\cvidemo.prj sample project to see how it is used.

    -Johannes

  • I can't turn on my wireless (wifi) on my laptop, even when I tried to press the function key and F8

    I can't turn on my wireless (wifi) on my laptop, even when I tried to press the function key and F8. I have a toshiba laptop, and there is no switch on the side of my computer what is expected? Help someone?

    Hello

    My older Toshiba has a power switch WiFi.

    My new Toshiba has a WiFi switch above the F keys, although I do not know which varies
    by model. So check with Toshiba support, their documentation online and drivers, and
    ask in their forums where there will be others with the same model.

    Toshiba - Forums
    http://laptopforums.Toshiba.com/

    Toshiba - Contacts
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/navShell.jsp?CF=su_contact

    Toshiba - drivers - access your model
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp?NAV=download

    Toshiba - Support
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Hello

    The normal thing to do is to create a similar additional responsibility and using Exclusions to 'hide' the features you want.

    Then assign it to restricted users.

    Kind regards

    Bashar

  • Hello.. I'm from the programming, but new to actionscript. I would like to ask if there was a library where all built in functions, methods, and events can be searched. As for VB, MSDN (of Microsoft Developer Network) used to be there. More than once it h

    Hello.. I'm from the programming, but new to actionscript. I would like to ask if there was a library where all built in functions, methods, and events can be searched. As for VB, MSDN (of Microsoft Developer Network) used to be there. More than once it happens that I write a few lines of code, but a built-in function already exists for the same thing. Is there a way to check it out ahead of time?

    An online resource are QAnywhere® to Adobe ActionScript 3 (AS3)

  • Problem of nested function Ago and to this day

    Hello
    in my SPR I suite Time hierarchy:

    Year
    Quarter
    Month

    and a table of facts is store that contains the monthly measure "number of hearing aids supplied."

    I have to calculate PY_QTD, versions PY_YTD of the above measure.

    I tried to use integrated there is time and day of the following functions:

    PY_QTD

    To date (there are ("number of hearing aids Delivered", 1, "Time.Year"), "Time.Quarter")

    PY_YTD

    To date (there are ("number of hearing aids Delivered", 1, "Time.Year"), "Time.Year")

    but when I check the consistency I have error that says about "you can nest functions Ago and to this day.

    There is another way to calculate this? Can you help me?

    Thank you

    Giancarlo

    Calculate PY_YTD use the below for your case:

    Create a logical column
    AIDS sent for a YEAR with a formula such as that DAY ("number of hearing pronounced"), "Time.Year")
    then create another logical column as
    PY_YTD of AIDS come with formula as there is ("YTD","Time.Year delivered AIDS", 1)

    This will work for sure...

  • How to use FNDLOAD for functions, menus, and responsibilities

    Hi all

    I have a set of custom functions, menus, and responsibilities in an EBS 12.1.1 (Windows) I don't want to export using FNDLOAD.

    These exported objects can be imported again into a 11.5.10 EBS installation?

    I tried to export the menus by using this command:

    bin\FNDLOAD apps/apps@VIS 0 Y DOWNLOAD %FND_TOP%/patch/115/import/afscursp.lct resp.ldt FND_RESPONSIBILITY RESP_KEY = "TESIS_INVENTORY_SUPER_USER".

    and it worked OK (at least I think that was the case).

    But after the download in 11i system, menus are not there? What could be the problem? Here is the log:

    ---------------------------------------------------------------------------
    Application object library: Version: 11.5.0 - development

    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

    module:
    ---------------------------------------------------------------------------

    Current system time is March 21, 2011 15:00:48

    ---------------------------------------------------------------------------

    Download from the menus.ldt of data file
    Changing environment NLS_LANGUAGE AMERICA database
    Dump files LCT/LDT (E:\oracle\visappl\fnd\11.5.0/patch/115/import/afsload.lct(115.58), menus.ldt) to stage tables
    LCT E:\oracle\visappl\fnd\11.5.0/patch/115/import/afsload.lct(115.58 dump file) in FND_SEED_STAGE_CONFIG
    Empty the LDT file menus.ldt in FND_SEED_STAGE_ENTITY
    Dumped the lot ( NULL , MENU MENU TESIS_INV_SUPER_USER) in FND_SEED_STAGE_ENTITY
    Download from stage tables

    ---------------------------------------------------------------------------
    Concurrent query ended with success
    Current system time is March 21, 2011 15:00:54

    ---------------------------------------------------------------------------



    Is it possible to export and import a menu without worrying about the functions used by the menu? So far, I don't have export and import functions and maybe I need to do this first!

    Thank you very much
    Konrad

    and it worked OK (at least I think that was the case).

    Please check the TDL file to check.

    But after the download in 11i system, menus are not there? What could be the problem? Here is the log:

    Is it possible to export and import a menu without worrying about the functions used by the menu? So far, I don't have export and import functions and maybe I need to do this first!

    If you have verified the data in the file ldt, please run FNDLOAD download command with 'WARNING = YES UPLOAD_MODE = REPLACE CUSTOM_MODE = FORCE' options and then check.

    Thank you
    Hussein

  • Custom schema and the custom functions, menus and responsibilities

    Hi all

    My company has developed an integration of the EBS activate the third-party software create elements and other objects. We use a JDBC connector and call the underlying pl/sql API (such as EGO_ITEM_PUB. PROCESS_ITEM) Oracle. We have added some features, menus and responsibilities to our EBS 12.1.1 installation in order to provide a mechanism for access control for our JDBC integration because it connects directly to a db schema. We call FND_FUNCTION. TEST to see if the user connected / responsibility has the function it wants to call which are assigned to him. We also plan to use a custom schema, so that we don't have to plug directly into the apps schema, because we believe that our customer will not do. What do you think?

    I have planed to use FNDLOAD to download all the function menus and responsibilities to provide a script for our client, so that they can download simply all objects (menus,...).

    Now my issues are:

    Should they download these menus, functions and responsibilities in our custom schema or in the apps schema?

    The menus and responsibilities always defined in the apps schema?

    In the schema are defined if they are created in the GUI (oracle forms)?



    Thank you
    Konrad

    I would say FNDLOAD takes care to put all objects in the schema corresponding to FND/APPLSYS, right?

    Fix.

    What about subsidies for the apps schema? Don't the apps schema now on the new features, menus and responsibilities after the DOWNLOAD of FNDLOAD process?

    What grants you are talking about? The apps schema will certainly know about these new functions/menus/responsibilities (if not, you will not be able to see or access it from the application) - most of the data that is stored in the APPLSYS schema is accessible by the APPS schema.

    Thank you
    Hussein

  • Even in Safe Mode, minimize, restore and close is missing, even if the functions remain, and a dialog box now appears at the opening of the FF.

    Since I installed the latest update of Firefox, reduce it, restore, and close are missing visually, even if their functions are always present.

    I also started to have one of these dialog boxes asking whether or not I'd like to allow a program to make changes to my PC when I open Firefox.

    I could fix this apparently either by way of turn disable the compatibility mode setting, or by rebooting completely.

    Then, Firefox logo disappeared from the icon for a while, being replaced by the default Windows system image which is displayed under the icon of unspecified files.

    I do not know whether or not the uninstalling and reinstalling Flash Player and restart had something to do with this corrected, but at some point, she is back to normal.

  • Photos.app: Are the functions 'culture' and 'rotation' jpg lossless?

    For jpg files, there are ways without loss to change.

    https://en.Wikipedia.org/wiki/JPEG#Lossless_editing

    For example rotations and cultures.

    My question:
    Are the functions for jpg lossless ' rotation' and 'culture'?

    Thanks for your help.

    All changes in the Photos are lossless, except if you use photo editing extensions.  Photos stores the original images and a description of the adjustments to be applied to the picture, and if you add more settings, all changes will be calculated from the original main image file. YOYYu can always undo changes and revert to the original.

    However, if you export the edited pictures version, the final version will be made to TIFF to JPEG, and the amount of the losses depend on the JPEG quality you select or the size in pixels.

    Export a cropped or rotated image will result in a smaller file size.

    But while the picture is in Photos all settings are stored in the photo library without loss.

    If you use Photos of externally modified image photo editing extensions will be returned in a new and more original image file the original image file. You will still be able to return to the originl, but no longer be able to cancel all the menu sepaarately sub-mode.

  • Whenever I get up for a minute, my computer turns off is there a way to disable the functions "sleep" and "hibernate"?

    My computer used to stay... since I work with clients, my computer work is often interrupted. He is turns off if I stop for a moment and it's annoying to keep back on each time. The function 'Start'-j' looked where you shut down your computer and noticed "Sleep" - who says turn to turn off and saves the info... and "Hibernate" - which goes out and saves the info... but I don't remember always those who are there. Is there a way to disable this option, so my computer stays on?

    It is not related to firefox, but I think I can help you:

    1. Click on the stack (if you are connected, there a picture of a plug) in your taskbar (near the clock) windows
    2. Click more power Options
    3. Otherwise, go to control panel-> power options
    4. Click change when the computer sleeps
    5. Adjust the settings so that your computer does not sleep for a long period of time.

    See also: http://www.howtogeek.com/howto/windows-vista/disable-power-management-on-windows-vista/

  • Portege M750 tablet functions, buttons and fingerprints does not not in win7

    I installed win7 64-bit ('new installation' on my M750-129) and I also downloaded and installed all the latest drivers from the toshiba Web site.
    Device Manager shows no problem / need of pilots, and trhings as protection of HARD drive works well.

    However, I have four groups of problems I love and appreciate to find the answer:

    (1) when I change the position of the screen for Tablet, it does not change the direction or the resolution.
    There is no utility to set the directions you want from the screen as it was in vista (horribly unstable and slow down the BONE, however).
    This, of course, decreases the usefulness of the finction Tablet

    (2) the buttons do not work properly; the screen rotation button starts excel (!), the button of the mobility center starts word (!) and the toshiba help button does not work

    (3) fingerprint: fingerprint utility allows me to my fingerprints on the screen, asking if he should save it and saying 'save impossible; another duplicate exists"that I do not understand completely what it means...

    (4) some applications are not available at all after the new facility: recognition of faces, DVD player, bussines card screener - but I can love without people; 1-3 worries me a lot a lot more and I'd appreciate any help functional. Thanks in advance for any attempt!

    Hello

    I think you would need an extension package in order to use the features of the tablet on the Portege series.
    I didn't find the Extension for Win 7 Tablet PC Package, but there is a package for Win Vista.

    Usually many tools and drivers that have been released for Vista will work with Win 7.
    So, in my opinion, you should try to also install this Package of Extension of Tablet PC.
    I think this should solve the problem with the buttons too!

    Regarding the fingerprint;
    I think the message means that a fingerprint is already registered so a second register is not possible.
    Check if you can remove the other fingerprints

Maybe you are looking for