using the package DBMS_CRYPTO in reports

Hi all

I want to encrypt and decrypt the parameter used in the report.

to encrypt that I use;
l_encrypted_raw: = dbms_crypto.encrypt (src = > my_parameter,)
Typ = > dbms_crypto.des_cbc_pkcs5, key = > l_key);

to decipher;
l_decrypted_raw: = dbms_crypto.decrypt (src = > l_encrypted_raw,)
Typ = > dbms_crypto.des_cbc_pkcs5, key = > l_key);

in sql developer, these codes are running. I can encrypt and decrypt
but when I want to decrypt in the reports, it gives an error like this:

restriction of implementing: ' DBMS_CRYPTO. DES_CBC_PKCS5': cannot directly access the slider or the package variable remote

How can I convey this?
Thank you...

Hello

You must create a "wrapper" function

Create a function in the database that calls dbms_crypto.encrypt / dbms_crypto.decrypt and call this function in reports.

(Here, the problem seems to be the reference to dbms_crypto.des_cbc_pkcs5)

Concerning

Tags: Oracle Development

Similar Questions

  • If I subscribe to the applications Adobe CC everyone (students and teachers), how many computers can I use the package on?

    If I subscribe to the applications Adobe CC all (students and teachers).

    How many computers can I use the package?

    Please check the FAQ - Licensing FAQ: can I install Creative Cloud on several computers?

    Thank you

    Bev

  • When we use the package start the game?

    Guys, I would like to know when we use this part of the package. I mean, because start part runs only those and never running again in this session. So why we use this part?
    create or replace
    package body my_pack
    is
      num number;
      str varchar2(50);
    begin
    
      So when should we use this part of packages?????
    
      dbms_output.put_line(Why we use this part??????');
    
    end;
    Thank you

    Hello

    I use this section to initialize variables, global temporary tables and package SYS_CONTEXT variables. If there is information stored in regular tables which I am sure you need when you use the package, I could query the tables once, when I all call the package first and save the results in variables SYS_CONTEXT or package, or global temporary tables, where I can get results quickly and easily.

    Most packages you use probably not need this item.

  • First group title below displays under the column headers using the model 23 classic report with the help of repeat titles on break

    Hello

    I am migrating an application from 3 APEX APEX 4.2 on a thing I noticed with the classic reports when I put them in the model 23, it's that the first section break has break notch under the headings of columns for this section of line while the remaining lines properly have it display above the headers on the subsequent sections of group.


    When I look at firebug code I saw that all the tables but the first, the break line is included in the last line of the previous table, so I can see how it did not work for the holidays since.

    I have tow questions.

    1. is it really intentional because it seems not terribly elegant and my users to zero immediately above as a perceived bug.

    2. is there a reasonable job around always use headers repeat on break? I have multiple reports on the same page in places so switch to interactive reports is not a quick fix for me in this case.

    Example of a question can be seen at apex.oracle.com at home

    Thank you

    Brad

    Roadling wrote:

    Hello

    I am migrating an application from 3 APEX APEX 4.2 on a thing I noticed with the classic reports when I put them in the model 23, it's that the first section break has break notch under the headings of columns for this section of line while the remaining lines properly have it display above the headers on the subsequent sections of group.

    1. is it really intentional because it seems not terribly elegant and my users to zero immediately above as a perceived bug.

    The Standard report template definition in issue 23 contains thead and tbody elements:

    Before the column header

    
    

    Column title template

    #COLUMN_HEADER#
    

    After the title column

    
    
    

    After the lines

    
    
    
    
    
    
    #PAGINATION#
    
    
    
    

    This is intentional, the best practice for marking up HTML tables. What is not expected is the problem that arises when this model is used with the break of repeat titles on break formatting option. The repeated headings result table consisting of soup of tags containing several poorly constructed tbody and thead, which is not valid elements.

    2. is there a reasonable job around always use headers repeat on break? I have multiple reports on the same page in places so switch to interactive reports is not a quick fix for me in this case.

    Create a copy of the report model Standard in Standard (break formatting) for use with reports of the break, remove the thead and tbody definitions of template tags and the breakdown of the reports to use the new model of change. (Or, if you use mainly break reports using the Standard template, keep the tags in the copy and remove them from the original in order to minimize the number of reports, you need to change.)

    Personally, I would create a report model of line custom to break complex reports in order to be able to have complete control over the structure and presentation.

  • Can I use the packages with compilation errors

    Hello

    I try to use procedures in a package that includes compilation errors. I wonder whether the remaining procedures within this package is usable or not?

    Or is there a way to only compile the correct procedure within this package?

    Thank you very much

    Murat

    user13795669 wrote:
    Not even Possible, I use execute commands as below

    run immediately "@/ var/mcp/loadUtlPkg.sql';" or with another way?

    No, you can not use as you wrote.
    @ - is a special, synonymous with start , sign command SQL * more.
    You cannot use it with the PL/SQL constructor.

    The only way that you can use the body to package not valid with valid package spec - compile another package, dependent on the subject. Not running - compile.

  • using the loop in matrix report

    Dear all,

    I want to generate a turnout report.the user will enter just the start_date and the end_date.
    Suppose that the days between arguments start_date and the end_date are 30 days.i want to use those 30 days for the columns in the matrix report.i use the following loop.

    because loop me in 1.30
    (I) return;
    end loop;


    She just return 1 for each column as
    1 1 1 1 1 1 1... and so on
    Instead, I want it to appear
    1 2 3 4 5 6 7 8 9 10... and so on until 30.

    How would I do that?

    Thank you and best regards.

    Lets say that emp 1 was late 03 - Jan, emp 2 was absent on 04-Jan and emp 4 was behind on 07 - Jan. And if you run the report from Jan 01 - Jan - 10, it should give dates of Jan. 01 - Jan to 10. You can use the query like this (this is just an example, you must change according to your requirement. The part that provide daily, you can use as it is):



    SELECT EMP_LATE_ABSENT.EMPNO,
    TO_CHAR(ALL_DATES.ALL_DAYS,'DD') ALL_DAYS,
    EMP_LATE_ABSENT.HOURS_LATE
    FROM

    (
    SELECT ALL_DAYS
    FROM (
    SELECT TO_DATE(:start_date,'DD-MON-RR') + LEVEL - 1 ALL_DAYS
    FROM dual
    CONNECT BY LEVEL <= TO_DATE(:end_date, 'DD-MON-RR') - TO_DATE(:start_date,'DD-MON-RR') + 1
    )
    ) ALL_DATES,
    (
    SELECT 1 EMPNO,
    TO_DATE('03-JAN-2009') DATE_LATE_ABSENT,
    3 HOURS_LATE
    FROM DUAL
    UNION
    SELECT 2,
    TO_DATE('04-JAN-2009'),
    NULL
    FROM DUAL
    UNION
    SELECT 4,
    TO_DATE('07-JAN-2009'),
    6
    FROM DUAL
    ) EMP_LATE_ABSENT
    WHERE ALL_DATES.ALL_DAYS = EMP_LATE_ABSENT.DATE_LATE_ABSENT(+)
    ORDER BY EMP_LATE_ABSENT.EMPNO,
    ALL_DAYS

    So result would come up like this:

    Emp All Days Hours Late
    1 03 3
    2 04
    4 07 6
    01
    02
    05
    06
    08
    09
    10


    And when you create a matrix report, from 01 to 10 days would be in the form of columns, used as lines and values of hours/null as cell values.

    I hope this helps.

  • Can we use the output of a report as input for the other report?

    Dear all,

    I would like to know if we have an OBIEE option where we can save the output of a report and use it as a filter for another report?

    My scenario is similar to:

    (1) I have a report on ORDERS which gave me 250 orders.

    (2) I want to have a report on the table of the SHIPPING for these 250 commands.

    Can I save the result of the report 1 as a filter and use it in 2nd report?


    Please notify.

    Thank you
    Suma

    Hello

    Using the tab filters like filter based on another demand peak we can achieve

    Concerning

    NGO

  • Help with fft vibrations without using the package of noise and vibrations

    I'm looking for help in the analysis of vibrations. I use an example updated NI 9233 VI, to get a signal from the accelerometer for display using a FFT power spectrum. I'm not entirely sure if it works, because it's the first time I've ever done vibration analysis on LabView. So if you could explain a thing or two about vibrations or TFF, I'd be more than willing to hear from you. I have included my code along with a photo of an analysis of vibration of the computer, I work with. (even when I don't know if his work that I just thought it would be good to show an output)

    Brandon

    Data sheet:

    I have LabView 2011

    I FPGA, real-time

    I have a model of research of Wilcoxon accelerometer 797-33

    With an NI 9233

    On a cRio-9012

    Hi Brandon,.

    You can use the FFT Complex (photo attached) to calculate the magnitude of the acceleration at different frequencies. You will need to take a little further to build a new waveform with this release, which includes d0, df and the output of the FFT. In order to calculate the df, please refer to the user manual on page 10-3. With respect to the scale that is output by the FFT, it must be same as input. Hope this helps to answer your questions. Thank you!

    See you soon,.

    CARISA Leal

  • Can I use the package of photography for my business?

    I have a question. Can I use the beam of photography (listed here: en Photoshop Lightroom |) Adobe Creative Cloud Fotografielidmaatschap ) for my own business?

    providing you pay the monthly subscription you can use in all cases please. The only condition is that it is loaded on not more than two computers per subscription, and only one of these computers is used at a given time.

  • Using the package Photography - Photoshop Lightroom problem

    Hello Adobe Community,

    I have to pay a monthly subscription for all photography and I adobe applications like photoshop and Lightroom 6 I used on my laptop without a problem until 2 days ago, but now my phone is completely dead. I have a windows Tablet and that you have installed applications. My problem/question is, I tried to open the Lightroom Catalog. How do I get 6 Lightroom on the Tablet I can get with my editing. It is v5.7.1 the latest version on my tablet at the moment. My deadline to the Faculty is a week away!

    Thanks if read you and respond to my question. Any help appreciated.

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a way to go to a page to download the Adobe programs if you do not have a disk or drive

    -you will need to enter your original serial number during the installation for non-Cloud programs

    -Cloud desktop http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html

    -Cloud Getting Started https://helpx.adobe.com/creative-cloud.html

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

  • Set the font size in the generation of explicit report using a model

    Does anyone know how to set the font size using the generation of explicit report with MS Word?  I have trouble getting my 11th column to fit the correct size with the imported data table.  The values end up being off the screen.  Any ideas?

    I suspect that the answer is somewhere within MS Word instead of LabVIEW.  However, I tried it figure out in both and had no luck.  In WORD, I updated all fonts size = 10.  However, the table is imported to the format = 12.  In addition, the table cells are the same size, regardless of the number of columns is imported.

    David

    Just for future visitors to this question are aware, it is a known problem with the generation of report express vi.  There is no solution at this time and the problem will be resolved in future versions of LabVIEW.

  • How to use the report generation tool to get a list of bookmarks in a Word template

    I'm working on a project where I need to use the report generation tool to fill a fairly long Word template. MS Office report Express VI can have entries for a maximum of 17 bookmarks that is not close enough to what I need to do.

    I wonder if there is a way to use the lower level screws report generation to read the word template and return a list of the names of bookmark in the form of a table 1 d of string. The dialog box that allows you to implement the Express VI has this ability, but I'm not finding a way to scan the document programmatically.

    I'm sure I can't be the first person to encounter this problem and I hope someone out there has found a good solution.

    Found the answer to this one that I was looking for the forums. Apparently, you can do this directly through everything in the VI report tool, but there is a VI in Wordsub.llb do that.

  • "The system cannot find the specified file" error when you try to install a hotfix/cab package using the DISM tool Package Manager

    I'm testing the integrity of the addon ".cab" packages and patches by installing using the Package Manager (pkgmgr.exe), or alternatively, the Deployment Image Servicing and Management Tool (DISM.exe) for Windows 7.  To do this, I am aware that I have to call a tool through the command line.

    In the Package Manager, I use the syntax

    Command prompt > pkgmgr.exe /ip /m:C:\Test\test.cab

    Otherwise, I might add the path in quotes:

    "Command prompt > pkgmgr.exe /ip /m:"C:\Test\test.cab.

    The error returned in pkgmgr is:

    Operation failed with 0 x 80070002.  The system cannot find the specified file.

    My first impression was that my syntax is incorrect, although I can't have room for error.  The path points to "test.cab" which is a renamed windows addon that contains the necessary file "svcpack" and the file "entries_XX.ini".  I used several different ".cab" file, that which some I know to be genuine, hopefully exclude the possibility of a corrupted or incompatible file.  I also tried this procedure on different computers and received the same error code, so I doubt that the tool pkgmgr istelf is corrupt.

    Finally, I tried an alternative Windows 7/8 DISM tool to try to achieve essentially the same task by using the following syntax in a command prompt:

    "Commnand prompt > DISM.exe / Online /PackagePath:"C:\Test\test.cab Add-Package ".

    This produces a similar error:

    An error occurred trying to open it - C:\Test\test.cab error: 0 x 80070002
    Error: 2
    The system cannot find the specified file.
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    I'm really not sure why I produce these errors.  Any idea is appreciated.

    Hello

    Thanks for posting your question on the Microsoft Forum.

    I suggest you to ask your question in the TechNet forums.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w7itpronetworking&filter=AllTypes&sort=lastpostdesc

    TechNet is watched by other computing professionals who would be more likely to help you.

    I hope this helps.

    _________________

    Thank you best regards &,.

    Isha Soni

  • set at runtime (color, pattern) using srw package-list of values to use

    Hi to you all,.

    Sometimes, in the reports that we want to set color, pattern, etc... a filed during execution.
    We can do this by using the package-srw.

    colors are identified by their names or RGB values
    to retrieve the value of their name or RGB, I use conditional formatting "tool" or "ownership" of this field.

    for example:
    -Automatically generated reports generator.
    If (: A = 'blue')
    then
    SRW.set_foreground_border_color ('r0g75b100'); - light blue
    SRW.set_foreground_fill_color ('r0g25b75'); - medium-blue
    SRW.set_text_color ('r0g0b50'); -darkblue
    end if;


    However,.

    is their a list with the names of valid for use with model
    SRW. SET_FILL_PATTERN ('pattern');
    ?

    Greetings,
    E.

    Hello

    .. Another method is to move your mouse over the fill pattern in the "fill pattern Palette. The name of the models is displayed in the status bar

    See image here: ftp://ftp.oracle.com/support/outgoing/dsegard/pattern.jpg

    Concerning

  • I can't use the toolbar google with this version and it is really bad, I want to go back to version 4 and I do not think the right to download it

    It's really good for me and easy to work with the gmail toolbar that I can easily manage the drive
    Firefox 5 will not work with it and I want to go back to version 4 I could keep working until they will fix it.
    and I can't find where I can download the 4 and how to change 5.
    Thank you

    The 7.1.20110512W version Google toolbar works in Firefox 5.0 using the add-on Compatibility Reporter, I tried it myself because of the large number of comments on the problems of the GTB.

    https://addons.Mozilla.org/en-us/Firefox/addon/add-on-compatibility-reporter/

Maybe you are looking for