copy paste a package to another user gives an error...

Hello
I created a package with procedures in a user. Now, when I copy and paste this package to another server user, who is in error. When I separatelly, run the code where the error is displayed and then executed successfully.
All the mistakes, said that "table or view does not exist", even the table exists, as they say on system tables.
The error code is ORA-00942
What is this problem?

Thank you.

Published by: user12222356 on June 14, 2010 10:04

user12222356 wrote:
In the frontal part, DataReader is used. Through the datareader, the values are fteched. So, what is the use of the cursor here? The same thing was dappend without using a cursor. Does not appear there?

I assume you are using .NET then.

It is always using cursors. Each request is a slider, but how he defined and executed will differ according to the code that made her and if she is purely in PL/SQL or you use a layer of application 3rd party such as .NET or Java etc.

I'm not familiar with .NET, but it will go something like this...

Your .NET application creates a datareader and will assign a query to it. That would probably be done one of two ways: either one) the query is provided to the DataReader directly or b) the datereader request a cursor of the database.

For one) the query is written in the datareader which issues the request to the database, thus doing the same type of action as an OPEN statement in PL/SQL; for example, the query is parsed and executed, but no data is recovered at this time here, just a mouse pointer is passed back to the DataReader from the database. Then the datareader will have some sort of record read or search the method that get each row of data from the database to fill its record set. Once it is detected there is no additional data it will issue usually some close sort of statement on the database to close the cursor.

For (b), the request is written to the database, and the DataReader asking him the slider by calling a procedure/function. These procedures/functions returns a ref cursor, which is only a pointer to a cursor. The context then extract the data and close the cursor, as it would have made one). The difference here is that the query is not set in the layer application, but on the database layer and the DataReader does need to know how the query is written (there may be different for different types of RDBMS queries), everything he needs to know is that a set of expected results will return the query.

((b) is clearly preferable to one) because it separates the database layer of the interface layer and allows for applications to be more portable between different RDBMS, by the simple provision of database layers different. Of course there may be an intermediate layer of business (in 3-tier architecture), which may have been written in the same code as the application layer, the same code as the layer of database or intermediate layer according to the case but who is straying from the point of the sliders.

Tags: Database

Similar Questions

  • How to copy - paste to put in another document

    I used to be able to respond to an email and it show up under the box. Then I could add my comments to this announcement with the original mail in it. Now it don't.

    Also, I used to be able to go on a site a cut-and - paste or copy - paste to put in my document.

    Now I can not do. Can you please give me some advice because it's totally frustrating.

    See also:

  • Can not copy / paste from one folder to another.

    Just recently, I can't copy and paste a word document to a different folder, and my office is locked and can not move icons. I've unlocked settings, also tried to reconstruct the dates. Running advanced system of care. Creates a new user. Nothing works. My computer as most of the people is a tool and not used to play games, it's time to implement a different system, that is to say Windows 7 or wait 8. I honestly thought that XP Pro has been very stable and I have all the important issues in over 5 years, and in this case. This is the result of an update?

    Hello

    1 did you change your computer, after which the issue started?
    2. the issue of copy paste only occurs with Microsoft Word?

    Windows XP is still very stable and reliable. If you want to upgrade to Windows 7 or Windows 8, you can do it. It's a good idea to upgrade your operating system to get used to a new User Interface that would give you a new experience altogether.

    Follow these steps and check if the problem persists.

    Step 1:

    Test the issue in safe mode.

    Step 2:

    If the problem does not occur in safe mode, I suspect that there is a conflict of software of third party causing the problem to occur. I suggest that you start your computer in a clean boot State in order to eliminate conflicts of third party software.

    Note: The steps in the article to restart your computer as usual.

    Step 3:

     http://www.Microsoft.com/security/scanner/en-us/default.aspx

  • Form fields copy and pasting one PFD to another

    Copy and paste form fields of a PFD to another while in form editing mode has stopped working. I did a hundred times and then the second document suddenly stopped to accept my objects to the Clipboard. That's happened?

    I answered my own question by trial and error.

    I worked with excel to create columns that will automatically detect the wizard. I then transferred these columns into a MASTER spreadsheet.

    I had unconsciously tried to copy/paste text fields with the same name as the associated checkbox. It gives me a warning pop - up or anything like that so I could ' t understand why it didn't work. Hope this helps someone who has the same frustration I was.

    Thank you

  • MAC Photoshop CC 2105 - I am not allowed to copy and paste text from other apps - it gives me an error?

    The copy/paste function does not work - when I copy text from another program and try to paste I have Photoshop - it gives me this error. I run a Danish version.

    I've worked with adobe for 20 years - he is just a normal procedure to copy paste the text.

    The translation is:

    Was able to complete the text of the Insert command when the tray is empty or the content is not valid.

    Skærmbillede 2016-01-20 kl. 08.56.32.png

    Hi Charlotte,.

    Please update your version of Photoshop for more later.

    An update has been rolled out Photoshop CC 2015.1.2 update now available

    Kind regards

    Assani

  • Grant execute on a package in another schema of users

    I need the ability to grant enforcement on a package in another schema of users...

    i.e. User_1 a Package pkg_package1

    User_2 should be able to grant execute on user_1.pkg_package1 to other users.

    I know you can give any procedure (I think) to user_2 and - it must be able to do.

    The problem is - I don't want user_2 can grant execute on any procedure in the database - just a diagram of user_1.

    Is there a way to do this?

    Hello

    FOT individual packages, you can tell

    GRANT   EXECUTE  ON pkg_package1
    TO      user2
    WITH GRANT OPTION;
    

    Alternatively, you can write a procedure in the schema of user_1 which grants privileges and give privileges to EXECUTE user_2 on the procedure.

  • Restoration to a corrupt user or copy corrupted to a newly created user. I am not allowed access to corrupt the user of another administrative user.

    When I try to copy the files from the user to a new user, the corrupt user is inaccesable when I click it.  I'm another user of the admin access.  I restarted the computer.  Does anyone have any suggestions?

    I encountered this problem immediately after removing an accessory program Apple ITunes that I have not used.  I did it to clear up disk space.  This has happened also when I got a low disk space to open the user.  I could open another admin user account and free up enough disk space to open the user.  When I try to connect to the corrupt user, it connects me to another user called (name.value of initial user followed a string of alpha-numberic characters)

    Thank you

    Hello Cscoler,

    Corruption of the profiles can be caused by malware, by repeated interruptions due to file system corruption and bad hardware issues. Did you run any malware removal software?

    When you created a new user account, have you configured it as an administrator? Do you receive error messages when you try to open a session in the corrupted profile, such as "the system has recovered from a serious error or user profile is corrupted"? When you log in the corrupted profile, are you able to view your data?

    Thank you

    James

  • How copy/paste or copy/move a file to another folder in Windows XP

    I need to copy/paste or copy/move the files from one folder to program existing to another folder.

    Use the movement commands to copy do?

    Hi Jimmyjack1941,

    I suggest you to read the following articles for more information.

    These are the items if you use the Windows Explorer to perform operations:

    To copy a file or folder

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/windows_fcab_copy_file.mspx?mfr=true

    To move a file or folder

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/windows_fcab_move_files.mspx?mfr=true

    You can follow these commands to move and rename the file or folder using the command prompt:

    Moves files and renames files and directories.

    To move one or more files:
    MOVE [/Y | /-Y] [drive:] [path] file1 [,...] destination

    To rename a directory:
    MOVE [/Y | /-Y] [drive:] [path] dirname1 repert2

    [drive:] [path] file1

    Specifies the location and name of the file or files you want to move.

    destination

    Specifies the new location of the file. Destination can consist of a drive letter and colon, a directory name, or a combination. If you move a single file, you can also include a file name if you want to rename the file when you move it.

    [drive:] [path] dirname1

    Specifies the directory you want to rename.

    repert2

    Specifies the new name of the directory.

    /Y

    Deletes the request for confirmation that you want to replace an existing destination file.

    Y

    Causes of request for confirmation that you want to replace an existing destination file.

    The switch /Y may be present in the COPYCMD environment variable. This can be derived with / y on the command line. Default value is quick to replace unless is running of command MOVE within a command script.

    Example:

    move c:\windows\temp\*.* c:\temp

    Move the temporary directory c:\windows\temp files in the root, this is of course assuming you have the windows\temp folder.

    Note: Microsoft does not move the files/folders installed application.

    Hope this information helps.

  • I am owner of acrobat 9 pro and he had to re - download the program from a computer problem but when I get the code of the adobe Web site gives me error invalid serial code.  I use copy / paste to prevent Miss typing the code.

    I am owner of acrobat 9 pro and he had to re - download the program from a computer problem but when I get the code of the adobe Web site gives me error invalid serial code.  I use copy / paste to prevent Miss typing the code.

    Hi Laurent,.

    Please try the steps listed in the KB: https://helpx.adobe.com/creative-suite/kb/error-invalid-serial-number-acrobat.html

    Kind regards

    Rave

  • How can I give sysadmin rights of user to another user?

    Hi all I am trying to find any solution to give a bit of administrator rights from user to another user for example to track workflow applications. ? Is there a way?

    but I can check the workflow admin is *?

    Please see (the user is able to query only the elements of workflow, they possess to Status Monitor [755223.1 ID]), he shows how to check for the back-end (database) or application (via the responsibility "Workflow administrator Web Applications").

    You can also see the following docs for the navigation of the application path:

    How to reset the administration of the process [413711.1 ID]
    11.5.10 workflow System Administrator LOV field cannot be changed after the upgrade to the responsibility of the administrator system [308160.1 ID]
    More information requested Notification allows applicant to approve [ID 726696.1]

    Thank you
    Hussein

  • How to grant access to a package body to another user in execution

    Hello

    I have a package body that contains a single procedure and the owner of this APPS package.

    I have a requirement to grant access to this procedure which is inside the package to the user 'XXX' so that I can execute this procedure of user XXX in execution.

    When I tried under statement then it grant access to the package spec, not to the body. Please let me know how to give access to the package running body?
    Grant execute on KEI_TEK_IB_INTF_PKG to XXX.

    Thank you!

    PL, ensure that simultaneous program code is fully eligible package being called (i.e. APPS.) KEI_TEK_IB_INTF_PKG). If the scheme qualifier is omitted, you must create a public synonym (for example to create a public synonym KEI_TEK_IB_INTF_PKG for applications. KEI_TEK_IB_INTF_PKG) for this to work as expected.

    HTH
    Srini

  • Is it possible to copy/paste the entries recorded one character to another?

    If a bunch of different characters were all doing the same dance, for example, is it possible to animate one and then copy and paste elements of the track (entry camera, entry of the mouse, etc.) on the other characters (if they have the same anchor points)?

    Not at the moment.  Copy/paste functionality only offered by the host of character is the ability to copy data of track side video in After Effects and paste in character animation.  For more information: using After Effects | Face Tracking

    Hope that helps.

  • How a copy paste a text layer of the file one psd to another?

    Hello

    CS6

    I select the type tool, type some text, create a text layer.

    I went with this still active text layer, ctrl a, selection puts on the perimeter of the entire image, ctrl c (copy) and clicked on the psd file tab I wanted to put it in and went ctrl v (paste)

    text appeared.

    HOWEVER... This isn't text, try selecting the it, you can't!

    To the search, in the layers palette, it is not not a text layer as it was in the psd source.

    going on what?

    I copy paste on this occasion, not drag drop.

    Merlin

    Instead of copying the pixels (what does your process) instead do a right-click on the text layer - select «Duplicate layer...» "and where it says - Destination - click on the dropdown next to"Document"and the change to the file that you are trying to move the text to.

  • Impossible for Typekit to work with localhost (in addition, another weird issue with copy + paste)

    Hello!

    I looked through the other posts already and I * think * I tried all the solutions, but I still can't get on my machine typekit fonts.

    I try to use the font "speaker-std".  In the editor of 'kit', in the 'Kit-kit settings > settings' tab I name "localhost" (without quotes) and the right areas '127.0.0.1' (without quotes).

    Then (AFTER saving the settings on this tab), I'll be back in edge animate, I start a new font by clicking that + sign next to "fonts" in the "Library" tab  I put list "police rescue" to "'speaker-std', sans-serif" (w / quotes, without quotes), then back to the browser open and move the 'embed' code, copy the two lines of javascript, back onboard, animate, and... nothing.  It doesn't let me change ANY text in this area more after that window loses focus.  I have to press 'Cancel' and then try again.  So this time, I just type in the speaker-std... blah blah, as well as the last time, but paste into the code successfully because he was already in the Clipboard and I didn't need to lose focus of the window.  Okay, so I click on 'Add fonts' and apply the police to my text.  Nothing happens.

    Huh... well the image "of the T police' appears at the bottom right of my screen, it's weird.  I'll listen to some extracts in chrome, still ugly old without seriff, also with the logo 'of the T police' down right.

    Well, I say to myself "probably takes just a second... or one minute... or w/e as the message said."  It was at least an hour ago so something is not always well.

    I would just delete the fonts and start over again... maybe something got screwed up along the way and he would fix things to start all over again.  Well... "Sorry," said edge animate... can not allow you to delete!  Tab "libarary", there is only one visible font, it says 'speaker-std, sans-serif' (without quotes).  If I right click on it, the only option is to 'delete' and it is grayed out.

    I tried to make one with arial instead of lineal just now, still does not, but everything now presents itself in arial instead of lineal... so that's something I guess.

    My apologies if this is just a simple problem that I'm not just sort of seize.  Please accept this legitimate bug as a means of payment report... re copy paste bug, I want to say...

    Thank you!

    Trevor

    Hi Trevor,

    I'm sorry you troubles here. Typekit may be used locally. However, there are a few steps which if left empty, causes the fonts don't not to return. To use Typekit locally, it must:

    1. run a local server when you test your site in the browser. You can tell if you are running a local server with the URL of the local site. If it starts with: file://, then you just look at a local file in a browser and it works does not from a local server.

    If the local URL starts with: http:// then you're running a local server.

    2. the domain of your local server must be part of the list of field in your Kit. So if your local server uses: localhost, you will need to add this to the areas of your Kit.

    I hope this helps. If you have any other questions, feel free to reach out to us directly: [email protected]

    See you soon,.

    Benjamin

  • It is possble give right to an office to another user?

    Hi all

    In a persistent pool, your desktop is entitled to a wrong account user. Is it possible to re - called this office to the appropriate user computer and how?

    Thank you very much.

    hihiy

    Yes, it is possible that same office to another user.

    1. go in connection to the installed server machine

    2. Open command prompt, run the commands below

    vdmadmin-L m d | u

    L - update a user of virtual machine allocation or physical

    Name - d-Desktop

    -m - Machine name

    -u username

Maybe you are looking for