Basic Ask What is best way, using Type

Hi
I have a Global cursor in package , in Procedure A I open this cursor and need send data from cursor to other Procedure B. How can I to send Data from cursor using a Type ?
Thanks

We are passing a table from one procedure to another.
We declared a type as a record and then declared a type as a table of that record type. When experimenting I declared one based upon a cursor as below:
Cursor c_wklds
     is
Select
     FCAS_ORG_UID,
     FCAS_WKLCTG,
     WKLFN,
     WKLSFN,
     WKLNUM,
     FY,
     FMTH_NUM,
     OPEN_PEND_CNT,
     YTD_WKYRS
     TM_DIV_1_WKYRS,
     TM_DIV_2_WKYRS,
     YTD_PRCD_CNT,
     YTD_RCPT_CNT,
     MNTH_END_PEND_CNT,
     ASAL,
     CST
from
FCASWKLDVAL;
Type WRKLDS_TBL is table of c_wklds%Rowtype INDEX BY PLS_INTEGER;
My_wklds_table WRKLDS_TBL;
So that we could pass the table from one procedure to another we declared it in our specification as recommended in this post.
Passing A PL/SQL Table Through a Procedure

Similar Messages

  • HT3819 I have 2 Ipod touch's, one a 64gb and one an 8gb.  Whats the best way to use them both on the same itunes account?

    I have 2 Ipod touch's, one a 64gb and one an 8gb.  Whats the best way to use them both on the same itunes account?

    Click here for options.
    (64410)

  • I burned a playlist to a data CD using itunes 11 but what is best way to get it import it into another computer with itunes running?

    I burned a playlist to a data CD using itunes 11 but what is best way to get it import it into another computer with itunes running?  I get an "X" when trying to copy to the "automatically add to itunes" folder on the 2nd computer.

    ok... so i i just made sure all my music is all together in 1 folder and i am going to trash my old music folder that is in the itunes folder... and follow your directions - let itunes start w/new library and bring my music in. Well, last little hurdle/question. I noticed that the place where my itunes library is - on an external drive doesnt have much space left on it. The place where i gathered all my music together in order to start fresh - is a different external drive and has LOTS of free space on it.
    SO... i now would like to just keep all that freshly compiled clean music right where it is but in advanced preferences I want to point to that new folder on the drive that has so much more space. So... should i delete the old music then go into itunes with a blank library and change the folder in preferences - quit and go back in and then follow your steps to loading my music? If i change the setting of where itunes looks for the music - that doesn't wipe out the old stuff... it just mixes it all up together right? I dont want that!!
    i promise this is the last question - i would love to fix this problem tonight and just be DONE!
    Thanks in advance for your patience and knowledge!!
    Lisa

  • Using final cut studio what the best way of getting a mini disc in to FCP?

    I do some weddings and record some audio on to a mini disc recorder ( the small ones . On my avid liquid edit suite I just used to run it in live or ingest it on a 2 hour timer, and just record audio.
    What the best way to do it with final cut studio and final cut pro?

    Is there a reason you can't do the same on your mac system? What outputs does the audio recorder have?
    Jerry

  • My business has 100 ipads 3g with no control at the moment - i need to now control the ipads - what apps they can use - and restict certian use on the ipads - whats the best way to do this - it will need to be done remotley.

    my business has 100 ipads 3g with no control at the moment - i need to now control the ipads - what apps they can use - and restict certian use on the ipads - whats the best way to do this - it will need to be done remotley.

    MDM  -- moble device management 
    MDMs
    Airwatch, Meraki, MobileIron, Profile Manager on OS X Server, or Zenprise
    For a comparison see this page:
    http://www.enterpriseios.com/wiki/Comparison_MDM_Providers
    Airwatch
      http://www.air-watch.com/
    Meraki -- A free MDM   [ expect lots of email and phone calls about upgrades ]
      http://www.meraki.com/products/systems-manager/
      https://discussions.apple.com/thread/4067210?tstart=0
      Good howto by Sergio Sosa.
      https://discussions.apple.com/thread/2594001?start=15&tstart=0
    MobileIron
      http://www.mobileiron.com/
    Profile Manager by Apple
    Zenprise
      http://www.zenprise.com/

  • I have a macbook pro I use for work and iMac at home. What is best way to manage my files? Use iCloud? Dock my laptop when I come home? Appreciate any suggesitons

    I have a macbook pro I use for work and iMac at home. What is best way to manage my files? Use iCloud? Dock my laptop when I come home? Appreciate any suggesitons

    That depends on what kind of "files" you're talking about and what your employer's policy is on using cloud storage.
    I found dropbox and/or OneDrive work very well for keeping documents in sync between multiple machines.

  • When travelling and using 3G what the best way to turn off all internet connections except web browser on a Mac pro?

    When Travelling and using a 3G mobile stick for internet connection My MacPro burns through a lot of expensive connection data time doing background stuff such as checking messages, email, ungrades etc. Whats the best way to turn all this off so that intenet is only accessed when I request it?
    Thanks

    To turn off iMessages see this thread - https://discussions.apple.com/thread/4504796?start=0&tstart=0 
    For iCloud, read the article - http://support.apple.com/kb/PH2613 

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • Wipe my hard drive clean except for the OS whats the best way?

    I need to wipe my hard drive clean except for the OS whats the best way?

    From Kappy (note: with this method, you will need to update to the present OS version using the appropriate Combo Update from Apple Downloads.)
    Boot from the OS X Installer Disc One that came with the computer. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities (Installer menu if using Panther or Jaguar) menu. After DU loads select the startup volume from the left side list then click on the Erase tab. Set the format type to Mac OS Extended (Journaled) then click on the Options button. Select the one pass Zero Data option and click on the OK button. Then click on the Erase button.
    Note: You can skip the Zero Data option if you are not concerned about removing sensitive personal data from the hard drive. If you choose to skip this part of the process then it is possible for others to recover data from the hard drive. The Zero Data procedure will prevent others from getting access to your personal information.
    This process will take 30 minutes to several hours depending upon the size of the hard drive. After formatting has completed quit DU and return to the installer. Now complete the OS X installation. At the completion of the installation do not restart the computer. Instead just shut it off. The next user will be presented with the Setup Assistant when they turn on the computer just as it would if new out of the box.
    https://discussions.apple.com/message/12364050?messageID=12364050#12364050

  • Whats the best way to go about load balancing Exchange 2010 CAS

    My server guys want to LB the Exchange 2010 client access servers, this will be the 7th Context on my Ace 4710.
    see table for ports that are used
    Port
    Usage
    25
    smtp
    80
    http various
    110
    POP3 clients
    135
    RPC end point mapper
    143
    imap4 clients
    443
    SSL various
    993
    secure imap 4 clients
    995
    secure pop3 clients
    6001
    rpc related outlook anywhere
    6002
    rpc related outlook anywhere
    6003
    rpc related outlook anywhere
    60200
    rpc CAS
    60201
    exchange address book service
    whats the best way of going about this?
    do I just LB the IP addresses of the Servers and ignore the ports?
    do i have to do anything special for ports 993 and 995 secure imap and pop?
    I am sure there are more questions I shold be asking!

    OK
    so If I have a single serverfarm with all services do I filter on  the virtual
    address something like below?
    class-map match-any EXCH_vip
    match virtual-address 172.16.93.2 tcp eq 25
    match virtual-address 172.16.93.2 tcp eq 80
    match virtual-address 172.16.93.2 tcp eq 110
    match virtual-address 172.16.93.2 tcp eq 135
    match virtual-address 172.16.93.2 tcp eq 143
    match virtual-address 172.16.93.2 tcp eq 443
    match virtual-address 172.16.93.2 tcp eq 993
    match virtual-address 172.16.93.2 tcp eq 995
    match virtual-address 172.16.93.2 tcp eq 6001
    match virtual-address 172.16.93.2 tcp eq 6002
    match virtual-address 172.16.93.2 tcp eq 6003
    match virtual-address 172.16.93.2 tcp eq 60200
    match virtual-address 172.16.93.2 tcp eq 60201

  • Whats the best way to go about learning C?

    I'm an almost complete noob when it comes to programming. I did write a few simple pascal programs about 10 years ago at school, thats about it.
    What I hope to achieve is (hopefully) not that complex, but I'm not sure where to start learning. My reason for wanting to learn is this: I really love MOC (music on console) but I ended up wanting a GUI player which still worked without the mouse. Every one I tried just isnt a patch on MOC, IMO, or just has one or other feature that doesnt work without a mouse. So it occurred to me, I have the source code for all these GUI players and the source for MOC, perhaps I can "modify" MOC and create a GUI version, or alternatively write some kind of front end to MOC.
    So far, I have had a go with Glade and Anjuta IDE, but my knowledge of C being almost nonexistent is making things tough. I'm probably trying to do it wrong anyway, my thought was to create a GUI in glade and make it call functions from the moc source... :?:
    So I need a crash course in C programming with Glade (I think?) and I'm not sure what the best way to proceed is.
    Any tips on how best to learn? I ask here because you all seem to be the most knowledgable group I can think of

    I'm not trying to discourage you, but the idea of Frankensteining all that C source into your own custom GUI music player is likely to cause nothing but hours of frustration. C is a great language for system programming, but for most application software it's far too low level and for most beginners it's far too dangerous (it lets you do bad things that can kill your app in dozens of intersting and extremely hard to debug ways).
    What I would suggest is that you first off break the problem in half. Use a client/server approach. The server does all the low-level heavy lifting of decoding/decompressing the music files and sending them to your audio subsystem. Something like Music Player Daemon (MPD) is perfect for the server part and is specifically designed to be controlled by a separate client program.
    Then all you have to do is write the GUI client of your dreams. For that I would recommend something like Python plus the GUI library of your choosing (Qt, GTK, wxWidgets, etc. all have nice Python bindings). Python is a far easier beginner language than C and can do much more work with much less code. You'll spend less time mucking around looking for memory leaks and invalid pointer references and more time actually making your GUI do useful work Oh, and there just happens to be a Python MPD client library so the task of communicating with the server gets even easier.

  • Whats the best way to transfer everything from my old macbook pro to a new mac mini, i have a external hard drive which i backup to regularly via time capsule

    whats the best way to transfer everything from my old macbook pro to a new mac mini, i have a external hard drive which i backup to regularly via time capsule

    Check out > OS X Lion: How to use Migration Assistant to transfer files from another Mac

  • I want to connect a Mac mini to a Samsung 40", Whats the best way to do this?

    I want to connect a Mac mini to a Samsung 40" LED tv to use as the monitor, whats the best way of doing this?

    Understand that there is one HDMI port on your TV that is specifically designated for PC connectivity. The order that the TV or Mini are powered on may determine your results. For your specific TV model, check buyer reviews on Amazon or elsewhere that can include optimum TV/Computer settings adjustment for improved viewing results.

  • Whats the best way to get a big text file in a CLOB variable?

    Hi,
    I have a very premitive type of question.
    I have a big text file, say 30 MB, in a Unix directory (Solaris). I want to get the whole text of that file in a CLOB variable.
    I saw the procedure dbms_lob.loadfromfile/loadclobfromfile. In both these cases, according to the documentation, the target where is collect the data will be a BLOB and not a CLOB. So, I have to convert that blob into a clob.
    If I want to avoid all this conversion process, whats the best way to get a text from a file into a CLOB variable?
    Please suggest.
    Regards

    In addition, LoadFromFile is overloaded to handle both BLOB and CLOB:
    PROCEDURE LOADFROMFILE
    Argument Name                  Type                    In/Out Default?
    DEST_LOB                       BLOB                    IN/OUT
    SRC_LOB                        BINARY FILE LOB         IN
    AMOUNT                         NUMBER(38)              IN
    DEST_OFFSET                    NUMBER(38)              IN     DEFAULT
    SRC_OFFSET                     NUMBER(38)              IN     DEFAULT
    <BR>
    PROCEDURE LOADFROMFILE
    Argument Name                  Type                    In/Out Default?
    DEST_LOB                       CLOB                    IN/OUT
    SRC_LOB                        BINARY FILE LOB         IN
    AMOUNT                         NUMBER(38)              IN
    DEST_OFFSET                    NUMBER(38)              IN     DEFAULT
    SRC_OFFSET                     NUMBER(38)              IN     DEFAULT

  • Whats the best way to move files from a hard drive that wont boot?

    I made a bootable USB disk and it appears to work fine. I can still read and open files on the old disk (admin account only) from the new USB drive the old one doesn't boot. I don't have a backup but would like to move files to the USB and then reformat the old drive. 
    Whats the best way to capture the data?
    There are four user accounts on the old drive. Only one on the new drive so far. Do I need to set up four accounts on the new drive in order to copy data from each?

    Time Machine is for making backups and restoring ones it previously created. It doesn't restore data backed up or copied in other ways. In your case, it's better to use a cloning utility or manually drag the files than it is to use Time Machine.
    (124317)

Maybe you are looking for