Is there any provision to view the selected record using SYS_REFCURSOR?

hi friends ,
I was using SQL Server . now i am shifting to Oracle . so we are changing the Stored Procedures in SQLServer to Oracle SP's. I have given the structure of procedure given below . If possible , i want to see the output of select statement in the TOAD editor . If any body knows please help me
CREATE OR REPLACE PROCEDURE PS_AON
P_STATUS OUT VARCHAR2,
P_CUR OUT SYS_REFCURSOR
AS
BEGIN
OPEN P_CUR FOR
          select colum1,column2,column3 from Table 1;
EXCEPTION
               WHEN OTHERS THEN
               P_STATUS:=SQLERRM;
END;
This is one of the model of stored procedures i am using . And the editor i am using is TOAD 7.3.0 and oracle 9i. Is there any provision to view the selected records by running this procedure in TOAD editor
thanks & regards

(assuming you have relatively recent version of TOAD).
Write a small block to call the procedure (or use Toad's 'execute procedure' option) as in the example below. Note the ':' in front of 'v_cur_out'. When you run the block, TOAD will prompt you for a value / datatype for 'v_cur_out'. Ignore the value, set the datatype to 'Cursor' and click OK. The resultset (if any) will be displayed in the Data Grid window below.
DECLARE
   v_status VARCHAR2 (32767);
BEGIN
   ps_aon (v_status, :v_cur_out);
   DBMS_OUTPUT.PUT_LINE ('v_status => ' || v_status);
END;
/

Similar Messages

  • Is there any provision for viewing Sales Order at a plant level?

    Salute All !
    Is there any provision for viewing Sales Order at a plant level?
    Please provide TCode or any other way.
    Rgds
    Srivastav

    Hi
    Go to SPRO>Sales & Distribution>Sales>Lists>Define selection criteria.
    Select the Programme "SAPMV75A" , Trnsaction group=0 and pu display group=K and select the field =WERKS.
    Hope it will resolve.
    Regards
    Sanjay

  • Is there any report to view" the blocked Vendor Invoices along with the Pay

    Dear Gurus,
    Is there any report to view" the blocked Vendor Invoices along with the Payment Date". Please Let me know.
    Balaji

    I think you can solve this issue with a Query.
    Fernando.

  • Is there any transaction to view the customer master data ...

    is there any transaction to view the customer master data ...i me all the datats so that ui can prepare a report......

    Hi Sunaina Kumar,
    From Funtioanl Point of view
    XD02 or Xd03 - Chane / Display Customer Centrally ( With Company Code Data)
    VD02 or VD03 - Change / Display Customer - Sale and Distribution( With out Company Code Data.
    From Technical Point of View:
    SE11 or SE16
    Table Name : KNA1 or KNB!
    From here you can view all the customer data.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Is there any way to convert the selected rows to text in javascript??

    Hi All,
    I have place some word file to indesign cs 5.5 it is almost in one table, i need to separate the text from the real tables, Is there any way to convert the selected rows to text in javascript??
    If there is no way to make that, any one can help me to make a script to cut the selected rows and place it in privies pointer of the table to make it independent table and after that convert it to text ?

    This insert the rows contents after the table instead of being before:
    for (var r = app.selection.length - 1; r >= 0; r--) {
        for (var t = app.selection[r].rows.length - 1; t >= 0; t--) {
            for (var u = app.selection[r].rows[t].cells.length - 1; u >= 0; u--) {
                for (var c = app.selection[r].rows[t].cells[u].paragraphs.length - 1; c >= 0; c--) {
                    app.selection[r].rows[t].cells[u].paragraphs[0].move (LocationOptions.AFTER, app.selection[r].rows[t].parent.parent.storyOffset.parent.insertionPoints.nextItem(app.se lection[r].rows[t].parent.parent.storyOffset));
                    if (c != 0)
                        app.selection[r].rows[t].parent.parent.storyOffset.parent.insertionPoints.nextItem(app.se lection[r].rows[t].parent.parent.storyOffset).contents += "\r";
                if (u != 0) {
                    app.selection[r].rows[t].parent.parent.storyOffset.parent.insertionPoints.nextItem(app.se lection[r].rows[t].parent.parent.storyOffset).contents += "\t";
                else {
                    app.selection[r].rows[t].parent.parent.storyOffset.parent.insertionPoints.nextItem(app.se lection[r].rows[t].parent.parent.storyOffset).contents += "\r";
    for (var r = 0; r < app.selection.length; r++) {
        for (var t = app.selection[r].rows.length - 1; t >= 0; t--) {
            app.selection[r].rows[t].remove ();

  • Is there any provision of extending the validity period of quotation

    hi,
    sap gurus,
    good evening,
    is there any provision of extending the validity period of quotation
    for eg:
    my quotation is created with a validity period of 01:06:2008 to 30:06:2008
    is there any provision of extending the validity period of quotation
    if its possible
    plz let me know
    regards,
    balaji.t
    09990019711

    Hello,
    It is a business decision to increase the validity period of a quotation. You can very well do it by changing the date in
    Valid to field in the quotation. But there are a certain things to be checked with the business people before changing the validity in real time...like ... terms and conditions, rate... etc.
    Prase

  • Is there any way to access the App Store using OS10.4.11 on a Mac G4?

    Hi All:
    Is there any way to access the App Store using OS10.4.11 on a Mac G4 (dual 1.42 Ghz, FW800, MDD)?
    Thanks,
    Robert

    No. None of the applications from it will work either.
    (81546)

  • Is there any BI Dashboard view not allowed to use in BIP report?

    My customer wants to display BI Dashboard page on BI Publisher report.
    Is there any BI Dashboard view which is not allowed to use in BI Publisher report?
    Seem no summarized document for this, and then can I understand like “No related limit for BIP report”?

    Explore this page OBIEE - Presentation Variable System (reserved variable) | GerardNico.com (BI, OBIEE, OWB, DataWarehouse)

  • Is there any way to maintain the folder structure using the audio converter

    hi, please, i need help
    I want to convert some 24 bit wav files into 24 bit Apple Lossless files.
    dBpoweramp converter doesn't allow 24 bit files for Apple Lossless
    iTunes doesn't keep the folder structure, is there any option to change that?
    thanks

    When iTunes does a format conversion, it stores the new file in an Album folder within an Artist folder. It does not matter where the original file is. It does not provide any other option.

  • Is there any way to view the Java API through Eclipse or any IDE?

    I usually use Eclipse to code and sometimes, when i'm typing a method it will show a small list of the methods available for that class. Does Eclipse (or any other IDE, but Eclipse especially), have the java API available for view somewhere in the program?
    Thanks.

    In Eclipse Select Window -> Show View -> JavaDoc. If you're JRE is set up correctly, it will show you the JavaDoc of the currently selected class/method/member variable in that view.
    If it isn't, then go to Window -> Preferences -> Java -> Installed JRE and edit the JavaDoc location of the rt.jar (for Java 6 http://java.sun.com/javase/6/docs/api/ is a good value, as long as you're online).

  • Is there any way to view the iPhone on a mac like I could on pc

    I am still trying to transfer films back to my iPad that are on my iPhone they were easily transferred from my phone to iTunes library on my pc but when I got my first mac and synced my iPad it deleted them all. I still have on my iPhone and won't sync as it says all films will be deleted. I fully understand this was my error before disposing of PC. On the pc the iPhone appeared as an external drive and I could copy and paste onto desk top then add tomitunes library is there anyway of doing this on mac. Sorry to ask same question again. Any advice gratefully received as totally new to mac

    OK, so your old iTunes library was on your PC and now the library is on your Mac?  Do I have that right?  Your iPhone and iPad were auto syncing to the PC and now you connect them to your Mac and it wants to clear out the media?
    This is important, do you have in your iTunes library on your new Mac, the media you want now?  Or are you trying to move your media by copying what is on the iPhone/iPad to your iTunes?

  • Is there a way to view the Photo Stream using Android device?

    My iPhone 4 is currently broken at the moment and I want access to my Photo Stream. Is there a way I can access my iCloud Photo Stream using my Samsung Galaxy tab?

    Not that I"m aware of.

  • Is there any way to do the following? Regarding score, and printing.

    Hello,
    My name is Kyle, and I just started using GarageBand. I have been a Mac user for quite some time, and I just recently purchased the Jam Packs. I have been a composer for about 5 years, and I am really interested in electronic music and the possibilities that it has. GarageBand seems to be a great program, and considering it is a program that is standard on Macs now makes a lot of wonderful technology available to the general public.
    I have started using GarageBand to help me with some of my compositions, buy using the software instruments and improvising, to give me an idea of what some chordal structures sound like, and how I could interwieve some of the parts together. Is there any way to view the full score? I know that you can view the notes in note view, but is there any way to select multiple parts and view the score of the parts? This is something that I don't see, and I think it would be very helpful to view it as a full score, while also having the ability to do a single instrument input.
    Also, I was wondering if there was any way to print the notation for each part? Also, this would be helpful from score view. I use Finale 2007 for my notation for compositions, and sometimes Sibelius 4. I would like to transfer some of the stuff that I have played into Finale, so that I can do a little more editing, and incorperate it into a piece. I don't want to have GarageBand open, and read it note for note. I don't think there is any way to export them either, so that Finale or Sibelius could read the notes and rhythms. Am I asking for too much from a program that is essentially free with my system? I just see a lot of potential for the program, and I know most of my friends who are also composition majors are Mac users. I think this could be easily fixed, if these things aren't available already. If anyone knows anything about this, or has any suggestions, please let me know, as this is something I would like to use more as a tool, and I feel has a lot more potential to grow into an even better program.

    Thank you. I have heard of Logic Pro 7, but I have never personally used it. I'm still growing in the world of Composition, and I know that it is something I will be studying in one of my Computer Music classes coming up for my degree. I think it is something I will look into getting once I can justify the price of it. I guess for the time being, I will continue to play and grow in my ability to use and take advantage of GB, and then see what I can do about or with Logic Pro when I'm ready. The thought of spending $1000 for a program is hard to bite, because I've already spent a lot to produce my music, not only electronic music, but also chamber music and so on. I had no idea it would be so expensive to dive deep into the world of composition! lol.
    Finale 2007: $500
    Sibelius 4: $500
    Jam Packs: $400
    Midi Keyboard Interface: $100
    PowerBook: $1700
    Printer for printing scores and analysis: $150
    Logic Pro 7: Oy!
    As you can see it adds up very quickly...that doesn't even include my personal instruments and study materials.
    Thank you for your input, as I haven't really worked much with LP, and therefore didn't know which features are available. I will talk with some of my Composition buddies, and professors and see what they have to say as well, and who knows, I may be able to get the express version through one of them.

  • Is there any  way to Mask the Name when  a select statement is issued?

    Dear all,
    Is there any way to mask the name .. i mean if User issue a select statement in a customer table the real name should come like ' ABCXXXDEFXXCFXX'... Which is not the actual name?
    e.g if Name: CHIEV SONG MEE
    If user issue a statment select * from customers;
    The Result Should come something Like this:
    Name
    CHXXV SXNG MXX
    Thank You

    user3029023 wrote:
    but it seems there is no option in oracle it self which can be used as there they are saying to get a data masking software which we can't due to some internal issues....I would not say that. How one implements masking depends entirely on the requirements that need to be met.
    For example, schema A owns all the tables. Schema B can be created as a "trusted" schema - in other words, schema A trusts schema B and allows it full access (with grants) to its tables. Schema B implements data masking as views. For each table in A, a view exists in B that implements the required masking. B can now grant select access on these views to user C. User C will see the same data object names in B as it would have if it used A - only, by using the B data objects it uses masked data objects and not the original source data objects.
    Another example - schema Dev is to have all the data objects of schema Prod, but masked where needed. One can use CTAS (Create Table As Select) to create the required tables in Dev with masked values where relevant. This Dev schema can be "refreshed" on weekends by dropping all tables and getting a new fresh copy of production data and masking it - ready for the next week's development cycle.
    If the application use is for example APEX, then instead of coding SQL directly as reporting regions to display, a function is used instead. APEX supports reporting regions where it calls a function and this function provides the APEX run-time with the SQL to execute and contents to render. It is easy to use this approach to implement logic in functions that masked column data depending on who the APEX user is, the security/role attributes of the user, and so on.
    No there is not a single "+mask this column!+" feature in Oracle.. but that does not mean that such a feature is not supported and cannot be implemented. Oracle has a very comprehensive and rich set of tools - more so than most (if not all) other RDBMS products.
    It is up to the architect/designer/developer to use this toolkit in creating a system that meets the specific requirements at hand.

  • I'm wondering if there is any way to view the results of the form other than in a spreadsheet?  Is it possible to print responses one by one in PDF format, or word, etc?  I'd like to create a form for proposal applications, and the spreadsheet format resu

    I'm wondering if there is any way to view the results of the form other than in a table?  Is it possible to print responses one by one in PDF format, or word, etc?  I'd like to create a form for proposal applications, and the spreadsheet format results are nearly unusable for this type of form.

    Hi Nalani500 ,
    Yes, you can print the response in a PDF by following the steps suggested below.
    1) Go to the response file
    2) Select the response you want to print
    3) Click on Save as PDF button and it would save the selected response in PDF format.
    Thanks,
    Vikrantt Singh

Maybe you are looking for

  • HELP! BB Pearl 8130. Solid Red Led Light. Won't go away.. HELP!

    My LED has turned a solid Red color. It's on all the time and is only off when I pull the battery out. My phone does still charge. I've done everything to get rid of it even wiping my blackberry and upgrading the software. I read something about Blac

  • How to delete child appleid from family sharing on ios 8 ipad

    I have two apple ids for one child in Family Sharing. How do I delete one?

  • Unable to relay audio to AirPlay speakers VIA AppleTV.

    Hi, So I just bought a Pioneer SMA4 Airplay speaker, which in itself is working perfectly (amazing sound BTW); - iPhone > Spotify/AirPlay audio/video to > Pioneer: Check - Mac > iTunes audio to > Pioneer: Check - AppleTV2 > AirPlay audio/video to > P

  • How to assign two catalogues in R3 ISA

    Hi Gurus, We have a requirement where a customer should be able to see 2 sets of products; one a global set of product ( common to all with generic pricing) and the other a specific set of products for that customer ( or the set of customers) with sp

  • Too late to replace my Logic Board?

    Hey there, I bought my Ibook used a few months ago and everything was awesome until I started having some crazy problems. Turns out they match up with the logic board. I checked out the extension and was amazed that apple would actually do this. I ca