stored procedures, newbie question

I am at the point with my Web site where I need to think about the optimization of the query and have started looking at stored procedures for the first time.

1. am I right in thinking the benefit of the execution of stored procedures is that it is a pre-compiled query?

2. I'm trying to use the query cache as my 'normal' queries go, but is it possible to cache the results of a stored procedure?

In practice, using 1 & 2 would provide a significant increase in performance.

Personally, I use it only for large heavy updates or deletions. For example, I have an Oracle package with a bunch of procedures that run when a person completes an order - this process involves many tables, deletions, updates and a relatively simple logic. I think that the ideal candidate for a stored procedure.

I use CF as an alternative if, for example, I have to repeat a load of complex business logic in a stored procedure that I have already written in a CFC.

Keep in mind the benefits of a stored procedure - basically precompiled code. Don't forget that if you are using well trained cfqueries with cfqueryparams, execution plan gets compiled to the top in the first round * anyway *, so if you call a stored procedure or run your query really there is no difference.

And Yes - do not underestimate the additional time it takes for a developer to do everything in the stored procedures rather than ColdFusion, they don't call it rapid development of applications for anything

Don't forget as well as someone can write a stored procedure to poorly coded as well as they can write a wrong encoded query. At least if the developer has its application in front of him, he can see instantly what he needs of the index and locate errors, you could go years before realizing a person made a mistake inside a stored procedure, as no one can see the code.

Regarding security Yes - if you really want to limit security then sprocs will do that for you. However in most of the applications I've seen the right developer has the possibility to write a query, as they see fit.

Once I use stored procedures while I think of it - if you have more than one application that needs to do the same thing: this should * definitely * be a stored procedure.

Basically, the same rules apply to them as any other aspect of programming; security of the duplication of code, efficiency, ease of maintenance - it's all a matter of their maximum weight and decide what is best.

Tags: ColdFusion

Similar Questions

  • Question packets and stored procedures

    Been working with Oracle for a month now and I have a question about stored procedures/packages. I created 3 stored procedures and a search function to do some work as follows:
    1 load the initial set of data into a table.
    2. turn to day of the preceding table columns by using a specific search function.
    3. put to update a single column with a value based on grouped subsets of the data in the table.

    I divide the latter in separate proceedings to facilitate debugging and validation of each step, but now I want to put them all together and run them sequentially. In my view, there are two ways to do this:
    1. create another stored procedure that will run the three in the right order.
    2 create a package and move all procedures and functions and call each in the right order.

    Don't know which approach is preferable, although I'm leaning towards the first option, any actual experience would be appreciated. Thanks in advance!

    Dave

    How about option 3:

    3 create a package and move all procedures and functions, and then add an additional procedure in the package that calls each in the correct order and call this procedure.

    PS. only this last procedure must be in the package spec. All others must be put into the body (and can remain hidden for the code outside the package).

    Published by: Toon Koppelaars February 26, 2010 21:07

  • Simple question-how to call a stored procedure or function of apex?

    Simple question-how to call a stored procedure or function of apex?
    Thanks advance.
    Doug

    Hi Doug,.
    You can call a procedure or function of apex. It depends on what you want to do with the function or procedure. If you want to retrieve table data in a specific area, you can try something like this-

    The following statement creates the function get_bal on the oe.orders of sample table (PL/SQL is in italics):

    CREATE FUNCTION get_bal (acc_no in NUMBER)
    RETURN NUMBER
    IS acc_bal NUMBER (11.2);
    BEGIN
    SELECT order_total
    IN acc_bal
    Orders
    WHERE customer_id = acc_no;
    Return (acc_bal);
    END;
    /

    The function created in the previous example can be used in a SQL statement. For example:

    SELECT get_bal (165) FROM DUAL;

    GET_BAL (165)
    ------------
    2519

    hope this will help,

    Kind regards

    Pascal M
    http://Tajuddin.whitepagesbd.com

  • stored procedure question

    Hello guys,.

    could someone help me in this matter?

    Write a PL/SQL stored procedure that adds a dvd title at the end of the list of movies to a customer. This procedure should take as parameters in entry the customer_ID and film title_ID as your schema defines.

    I wrote the below procedure. I am a very beginner, I appreciate your help.

    create or replace
    PROCEDURE PROC_MOVIE_TITLE
    (CUST_ID IN VARCHAR2, DVD_ID IN VARCHAR2)
    AS

    BEGIN
    SELECT r.memberid, d.dvdid in CUST_ID, DVD_ID
    R, d dvd RENTAL
    where are.dvdid = d.dvdid;



    END PROC_MOVIE_TITLE;

    Add new column as "dvdtitle" in the table of the rental.
    And follow these steps

    create or replace procedure upd_dvdtitle (p_dvdid number)
    is
    Start
    Update rental r set dvdtitle = (select dvdtitle from dvd d where d.dvdid = p_dvdid)
    where are.dvdid = p_dvdid;
    end;

  • Stored procedure calendar basic questions

    If I have the following statements in a stored procedure, what happens if a user performs an update, insert, or select this option for the MAIN_TABLE during the procedure (assume that the procedure takes a few seconds)?

    MY_PROCEDURE:
    INSERT INTO BACKUP_TABLE (COL1, COL2, ETC.)
    (SELECT COL1, COL2, ETC. FROM MAIN_TABLE WHERE BACKED_UP = 'N');
    
    UPDATE MAIN_TABLE SET BACKED_UP = 'Y' WHERE BACKED_UP = 'N';
    If they do an update/insert, MY_PROCEDURE data will see that update/insert and send it to BACKUP_TABLE? Or it will depend on if this file has been processed yet? Or the update/insert will not persist until the procedure is completed? (I suspect the latter, but it's hard to get the timing right to test it myself)

    Would there be problems doing a select on MAIN_TABLE while this process occur?

    If there is a reference to how these timing issues are resolved that someone could tell me, that would be great; I can't find anything on mine.

    When all else fails, read the Fine

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e16508/consist.htm#sthref1118

  • Question from numbers in the stored procedure

    Hi all

    I have a problem to store numbers in oracle 11 g. I need the numbers without decimals and with decimal in my data table, I see this:

    1.1 (OK)

    1.2000000000000002 (instead of 1.2)

    1.3000000000000003 (instead of 1.3)

    1.4000000000000004 (instead of 1.4)

    1.5000000000000004 (instead of 1.5)

    1.6000000000000005 (instead of 1.6)

    1.7000000000000006 (instead of 1.7)

    1.8000000000000007 (instead of 1.8)

    1.9000000000000008 (instead of 1.9)

    2.000000000000001 (instead of 2.0)

    I am using this cfc:

    < procedure = "myDB.myPackage.updateTableA cfstoredproc" datasource = "mySource" > "

    < cfprocparam value = "" #arguments.myNumberValue # "cfsqltype ="cf_SQL_FLOAT">"

    < / cfstoredproc >

    In oracle, I have the myNumberValue parameter as a number data type.

    I try CF_SQL_DECIMAL and cf_SQL_NUMERIC, it does not pass anything.

    What type of sql are used in my stored procedure?

    Thank you

    Johnny

    I would use CF_SQL_DECIMAL, make sure just that you set the SCALE = "" attribute to dictate the number of decimal places to send. "

  • Question about handling apostrophe in the stored procedure parameter

    I was wondering how people have dealt with this problem.  In my process I use the operation to execute stored procedure (sp) to write data to a database, and it is by the way the field values to the sp as parameters.  Works fine when everything is normal but as soon as an apostrophe is added in one of the fields, ka-boom.  It breaks .  So I have been messing around with the means to fight against this problem and did not really come wih an appropriate option.  I know that I can go on the form and write a few RegEx and change the single apostrophe double that would work, but I have to write in several events since the form is sent to someone else and I can't have them seeing "clerk"s"instead of"clerk".  Right now I'm writing an xpath statement that would replace the single apostrophe with a double bed with no luck.  I was wondering if anyone else has had this problem and found an easy solution.  Thank you

    Mike

    Why not use the parameterized query option.

    In this way, your settings are replaced by some? and you don't get messed up with the '

    Your select statement would look like: select * from table where column1 =? and column2 =?

    Then you can map the? s in the process variables.

    Jasmine

  • would you use a stored procedure or a function

    Hello

    I have a very long query. I reduced a large number of sections of it with views.

    But now I have a section that is repeated several times, about 40 times. It is about 15 lines of SQL code.

    The variation between these blocks are two fields which change their value and I always join the result of these blocks using the same ID.

    Of course, I think I can extract in a central block (DRY) and call them from a main request, the question is how.

    My first approach would be a stored procedure. But all the examples I found that you use some PL/SQL or Java, that I could also... but isn't it overkill?
    The function?
    Any recommendation?

    Thank you!

    refer wrote:
    who would do it, I guess that
    now the newbie question: in the function block: how to assign select va1 and va2 from a query results in the attributes of the object? I couldn't find an example where this is demonstrated (if possible).

    I should have simplified:

    create or replace function ma_fonction (a number, b varchar2) return my_type
    as
    my_type my_obj;
    Start
    -here:
    Select val1, val2 from table1 - is always only one line
    -my_obj: = my_type (a, b); -How can I assign those here?
    Return my_obj;
    end
    ;

    select my_type(val1,val2) into my_obj
    from table1;
    

    Published by: Toon Koppelaars on February 24, 2011 10:16

  • SQL stored procedure input and output parameters

    Hello Gang,

    My dead end trying to call a stored procedure in SQL Server 2008 with the LV database tool.

    for purposes of experimentation, I've created a small procedure with an input parameter that returns an integer as return value.  It works describing a query, but all attempts at LV produce an error-2147217900 when executing query VI.  I did find examples of that.

    Sending a bunch of parameters to a stored procedure and checking the value of return seems to be pretty common stuff.

    I'll appreciate any help.

    Thank you

    Roger

    Hi Roger,

    There are a few prerequisites which I will list below. If you have not checked these things, so don't hesitate, as your hiccups can be there.

    Prerequisites:

    1. Ensure that you can read from a table in the database to verify that you can access the database (user permissions) and ensure that your login details are correct. Among other things, make sure that the. DSN switches to the correct database. (See the simple example below, SQL Select.vi)
    2. Make sure that your user (if you use SQL authentication) has permissions to run the STORED procedure by running the procedure in SQL Server Management Studio (you seem to have already done this)

    Example by calling a procedure without parameters (attached as SPROC_No_Parameters.vi):

    Example by calling a procedure with parameters (attached as SPROC_Parameters.vi):

    An article on the execution of stored procedures is here:

    http://digital.NI.com/public.nsf/allkb/07FD130746083E0686257300006326C4

    Don't forget to download the example VI since it includes the cases where you want an output parameter of the procedure rather than a table.

    I tested these against two very simple SPROCs and it worked fine (on SQL Server 2005, but 2008 should be the same).  Stored procedures have been:

    CREATE PROCEDURE [dbo]. [GetContacts]

    AS
    BEGIN
    -SET NOCOUNT ON added to avoid additional results sets from
    -interfering with SELECT statements.
    SET NOCOUNT ON;

    -Controls insert for procedure here
    SELECT * FROM Contacts
    END

    and

    CREATE PROCEDURE [dbo]. [MultiplyAges]
    @param1 INT = 1
    AS
    BEGIN
    -SET NOCOUNT ON added to avoid additional results sets from
    -interfering with SELECT statements.
    SET NOCOUNT ON;

    -Controls insert for procedure here
    SELECT (age * @param1) OF Contacts
    END

    I would like to know if these examples work for you or if you have any other questions.  Don't forget to go through this KB article and articles related to it, they should cover other situations.

    Matt

  • 2 blackBerry Smartphones newbie questions: do I need it, and how I spoil my phone?

    Sorry for the newbie questions:

    My IT has already set up my phone to receive email from their Blackberry Enterprise Server.

    (1) do I still need to install the desktop software?  Given that I can transfer files via Bluetooth from my laptop and my contacts/calendar/notes are stored on the Exchange Server, is there any point?

    (2) if I do not need to install it, given that my email is already working with BES, and the Office installation configures email settings, how do I keep the new Desktop install to mess up the current configuration of e-mail?

    Of all the notes of support on the software, looks like more trouble whereas at this stage.  I really need to treat it?

    Thank you.

    Janimal

    Hi and welcome to the Forums!

    Janimal wrote:

    (1) do I still need to install the desktop software?  Given that I can transfer files via Bluetooth from my laptop and my contacts/calendar/notes are stored on the Exchange Server, is there any point?

    There is not much need of DTM, but it is convenient to update the OS of your BB. Sometimes there will be releases of minor bugs corrections and such to your BB - DTM will be meaningless and install them, while updating wireless could not detect them. For a major OS update, you want DTM, as it will do a backup/complete restoration of your BB, including configuration settings, and others so that you don't have to redo those. But, to your e-mail, calendar, contacts, etc. - you are right, it is useless given that your Exchange Server is actually your master with your BB being actually a backup of that (in a sense).

    In addition, USB drivers (which are part of the package DTM) are necessary in order to charge your BB via your laptop USB. You can download and install all the USB drivers if this is the only part of the DTM you want.

    Janimal wrote:

    (2) if I do not need to install it, given that my email is already working with BES, and the Office installation configures email settings, how do I keep the new Desktop install to mess up the current configuration of e-mail?

    When you install it, it will ask if you are in a company - say Yes and it will install properly. Installation when your PC is connected to your corporate network and your Outlook is open. Who will get the best and fastest configuration. When you install, do not let it select the functions of auto-launch... If you wish, attach your BB and manually run the DTM.

    Of all the notes of support on the software, looks like more trouble whereas at this stage.  I really need to treat it?

    Thank you.

    Janimal

    Basically, on the whole, I vote 'YES'. You get the USB charging. You can save if you wish. You get the device OS and other updates. Most of the reported problems are people using it to synchronize via USB things - you won't do that because most of your stuff will be syncing via BES OTA. Other things, you can simply drag-and - drop (music, videos, etc.). .. .follow these instructions (use the latest 5.0 DTM):

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=BlackBerryDesktopSoftware&thread.ID=3...

    DL the latest version here:

    http://NA.BlackBerry.com/eng/services/desktop/

    Good luck!

  • Cannot access stored procedure parameters

    Hello

    We are at the point where you try to use a stored procedure from our Java through Toplink code but we seem to have a problem here I couldn't find an answer to. Maybe it's that my Google-Fu is miss you in this case.

    Our problem is thto so that the procedure seems to be cited correctly, we get nothing to Java code. The procedure in question has been tested with the same input parameters of SQLDeveloper and the procedure returns values as it should.

    The procedure signature is

    create or replace PACKAGE FORM_METADATA AS

    PROCEDURE FORM_LIST_GET)

    P_USER_ID IN VARCHAR2,

    P_CHANNEL_NO NUMBER,

    P_START_FROM in NUMBERS, paging

    P_COUNT_TO_RETURN in NUMBERS, paging

    P_GET_TOTAL_COUNT in NUMBER, - if number must total be returned then 1, other wise 0

    P_RESULT_SET ON SYS_REFCURSOR,

    P_TOTAL_COUNT CERTAIN NUMBER);

    end FORM_METADATA;


    Java code invoking this procedure looks like this:

    County of BigDecimal = new BigDecimal(-1);

    A session = getSession().

    session.setLog (new OutputStreamWriter (System.out));

    session.setLogLevel (SessionLog.FINEST);

    StoredProcedureCall procedureCall = new StoredProcedureCall();

    procedureCall.setProcedureName "(FORM_METADATA. FORM_LIST_GET");

    procedureCall.addNamedArgumentValue ("P_USER_ID", "name of user-1");

    procedureCall.addNamedArgumentValue ("P_CHANNEL_NO", new BigDecimal (1));

    procedureCall.addNamedArgumentValue ("P_START_FROM", new BigDecimal (1));

    procedureCall.addNamedArgumentValue ("P_COUNT_TO_RETURN", new BigDecimal (1000));

    procedureCall.addNamedArgumentValue ("P_GET_TOTAL_COUNT", new BigDecimal (1));

    procedureCall.useNamedCursorOutputAsResultSet ("P_RESULT_SET");

    procedureCall.addNamedOutputArgument ("P_TOTAL_COUNT", "count", BigDecimal.class);

    DataReadQuery dq = new DataReadQuery();

    dq.setCall (procedureCall);

    dq.prepareForExecution ();

    Object result = session.executeQuery (dq);

    System.out.println ("result:" + result);

    System.out.println ("result from StoredProcedreCall:" + procedureCall.getResult ());

    The output we get looks like this:

    [Warning TopLink]: 2015.08.31 16:11:30.781 - failed to get InitialContext for saving of MBean: javax.naming.NoInitialContextException: need to specify the class name in the environment or property of the system, as a cmdlet parameter or in a file of application resources: java.naming.factory.initial

    [Warning TopLink]: 2015.08.31 16:11:30.797 - failed to get InitialContext for saving of MBean: javax.naming.NoInitialContextException: need to specify the class name in the environment or property of the system, as a cmdlet parameter or in a file of application resources: java.naming.factory.initial

    [TopLink info]: 2015.08.31 16:11:31.685 - DatabaseSessionImpl (1827000661) - TopLink, version: Oracle TopLink - 11 g Release 1 (11.1.1.5.0) (Build 110305)

    [TopLink info]: 2015.08.31 16:11:34.147 - DatabaseSessionImpl (1827000661) - dev connection successful

    [TopLink Finest]: 2015.08.31 16:11:34.147 - DatabaseSessionImpl (1827000661) - wire (wire [main, 5, main])-Execute query DataReadQuery()

    [TopLink Finest]: 2015.08.31 16:11:34.163 - DatabaseSessionImpl (1827000661) - wire (wire [main, 5, main])-re-connect to the external connection pool

    [TopLink fine]: 2015.08.31 16:11:34.227 - DatabaseSessionImpl (1827000661) - connection (1635575430) - wire (wire [main, 5, main])-START FORM_METADATA. FORM_LIST_GET (P_USER_ID = >?, P_CHANNEL_NO = >?, P_START_FROM = >?, P_COUNT_TO_RETURN = >?, P_GET_TOTAL_COUNT = >?, P_RESULT_SET = >?, P_TOTAL_COUNT = >?); END;

    link = > [name of user-1, 1, 1, 1000, 1, = > P_RESULT_SET = > P_TOTAL_COUNT]

    [Result:]

    Result of the StoredProcedreCall: null

    Process has finished with exit code 0.


    I'm pretty sure that our problem is with Java code invoking the procedure, but as I said, we were not able to find the right solution yet. Anyone have a pointer as to where we should begin to look for next?

    Thank you in advance,

    Mika Leino

    One of my colleagues managed to find the reason why the procedure does not seem to return anything. For brevity, I've redacted a couple of settings that we were not used to this forum and we do not believe the reason for the perceived behavior. However, as well as the required parameters these have the value NULL. My colleague seems to try initialize parameters without value and after that the query returned a set of data that was expected.

    Our change of code (in Java) was therefore to spend

    procedureCall.addNamedArgumentValue("P_ORDER_BY", OracleTypes.NULL);
    

    TO

    procedureCall.addNamedArgument("P_ORDER_BY");
    

    Now we're getting data from the cursor, as expected, but the second parameter value still eludes us.

  • Logic of tip insert - using a stored procedure?

    Here's my use case:

    • I have a table called TAGS that has two columns: id (number key, primary) and text (string)
    • the table has a constraint of database set that each text must be unique
    • the table also has a fixed sequence back next id available
    • I created an entity of the DB object and its default View object
    • I also created a page where I display a table read-only based on the View object
    • Finally, I added a text field and a button to the page
    • What I want to achieve is to insert all tags entered in the entry in the table fields, when the button is clicked. Note, however, that the entry field is a comma-separated list of tags, moreover, I have to insert only those tags that are new (to respect the constraint of database), and finally, I would like to use the sequence in insert or orders. Once completed, the page should also be updated.

    My first question is whether a stored procedure is the right way to perform such a step insert logical. If not, what other means must be used in the ADF.

    My second question is to know how to call the stored procedure and pass it the value of the input as a parameter field. I found this article http://andrejusb.blogspot.cz/2011/04/invoking-stored-procedures-and.html, but miss me a few transition points:

    1. How the callGreetingsFunction method call (I just get it that it's a method of the EO generated Java class?) after that the button is clicked?
    2. How to pass the value of the input field in this method as a parameter?

    Thanks in advance for your help.

    Now, what happens if I run it like this:

    A. the procedure is executed after a click on the button

    (B) the page is not updated (I had to do the research to get the new lines are visible in the table)

    C. the constraint is ignored (after discounting there were several lines with unique identification number, but pr is - empty)

    D. nothing has been committed to the database - if I closed the application window and it start again, the lines have disappeared from the table, but addition of new lines used number of increased seq

    E. Similarly, if I did directly inserts into the database, these lines did not appear until I transferred the application

    B. told it page to refresh. And that's usually enough to refresh your ViewObject with: viewObject.executeQuery)

    C. Si the constraint is not enforced for null values. And this has nothing to do with the adf, this is related to oracle db.

    D. you're calling commit.

    E. you must re-run your view object (viewObject.executeQuery ())

    Nevertheless, here is my rookie questions:

    There there a simple way to refresh the page (or just the table containing the data)?

    -How to validate changes (immediately after execution of the procedure)?

    -How is the constraint has been ignored? I am sure it would fail on validation, but I thought that it will be considered even for adding data to the table.

    -Are there a way to update the original Version of the database every time that the page is opened or refreshed?

    -Drag and drop operation Execute like button on your page (or call vo.executeQuery () by program)

    -Drag and drop the operation of posting as a button on your page (or invoke it by programming on the DBTransaction object)

    -ignored for what values? for null values? It is expected, because each null is "unique."

    -Yes, but you probably shouldn't do that for performance reasons, see this: Andrejus Baranovskis Blog: Cache results for ADF iterator property

    Read also this: Andrejus Baranovskis Blog: job ADF and PL/SQL Invocation changes side effect

    Dario

  • transaction isolation stored procedure-level testing

    Hello

    I want to study the concurrency in the Oracle database using stored procedures in pl/sql with different transaction isolation levels.

    The idea is to send to the database of a number "n" of simultaneous transactions where n can be {100, 200, 400, 1000} and for each isolation level (READ COMMITTED, SERIALIZABLE) to determine the number of transactions committed, how much data, run time incorrect.

    The question is how can I generate n transactions that run simultaneously on the data base and how to get these results. I understand that this task can be done as well by using pl/sql stored procedure in the database or inside a JSP Java web application. Advantages/disadvantages?

    I should mention that I'm a begginner in Oracle...

    Thank you in advance.

    You want to run a large number of asynchronous (parallel) transactions.

    Although this can be done by running the Oracle's work, I think it is easier to work with the client side, using a Java program (for example).

    It doesn't have to be a web application (for example. JSP), can be a client Java that uses Java threads, and each thread is using a single database connection (and the corresponding database session).

    Kind regards

    Zlatko

  • disconnected rowset select CachedRowSet of a statement within the stored procedure?

    Hello everyone

    I'm using CachedRowSet returned from a parameterized select statement and it works very well.

    If I put the same select statement in a simple read only then stored procedure I get this exception: "a result set has been generated for the update.

    I'm not trying to update all lines in my code.

    I tried to make the CachedRowSet to be read-only, but this does not help, same error.

    Question 1: a stored procedure returns a single result set can be called to fill a CachedRowSet read-only? (in a similar way to a method of CallableStatement prepareCall with input/output settings).

    Question 2: in general is something to be encouraged for future development or are they deprecated or replaced with something else or better using CachedRowSet, FilteredRowSet (disconnected) and WebRowSet, JDBCRowSet (connected)?

    Thank you very much in advance

    It work? (be sure that your stored procedure done * nothing * before running this query)

    PreparedStatement p = conn.prepareStatement ("{call dbo.p_testCachedJDBCRowSet (?)}" ");

    p.setInt (1, 10);

    CRS CachedRowSetImpl = new CachedRowSetImpl();

    CRS. Populate (p.ExecuteQuery ());

  • Execution of the stored procedure Oracle EF6 error.

    Hello

    Need help with the oracle error

    {"ORA-06550: line 1, column 8:"}

    PLS-00306: wrong number or types of arguments in the call to "sp_name".

    ORA-06550: line 1, column 8:

    {"PL/SQL: statement ignored '}

    This error occurs when the code runs the line in Vb.net application in Model Designer

    MyBase.ExecuteFunction ("sp_name" para1, para2, para3, dOBpara4, para5)

    I create the SSDL and CSDL, MSL files for oracle to MS SQL connection by the method mentioned in the link JasonShort - professional profile - CodeProject it worked perfectly fine without the stored procedures. I managed to insert, update, and delete records. Then, I created stored procedures for Insert, Update, Delete. It worked fine with MS SQL. I copied and updated oracle files respectively. I gives me the error mentioned above.

    I executed stored procedures in Oracle SQL Developer, and it works without error. But when it is executed via the model there is light of the error. Can anyone let me know the solution for this error. I'm using VS2010, EF6, Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    Thank you

    Prachin Soparkar

    Hello

    Sorry for the inconvenience. After I posted this question I took a break and saw that the error was nothing, but I had given FNAME as parameter name in MS SQL. In oracle when I created the sp I created the parameter with p_FNAME. Where the schema defined in the language SSDL and CSDL, MSL had to be changed to MS, but since I want to that it would be same in different databases, I choose to have changed it in oracle stored procedure. The error msg is confusing, it should be something not found parameter or incompatibility etc.

    Thank you

    Prachin Soparkar

Maybe you are looking for

  • Tip for 3.5 mm headphones, stuck in jack

    I don't know how to solve this problem at all, I found an alternative and I use an external sound card to hear my music but its so annoying not being able to use my headset. Please help me solve this, what can I do? Also, I don't know how much apple

  • How do you close firefox by double clicking on the top left corner?

    as you know how you can do it in other programs? When I do in firefox is just minimize the window instead of closing.

  • Satellite P300-156. Rubber feet?

    Not a very technical question I know, but anyone know where I can get the small rubber feet on the underside of the laptop? I lost a Thank you.

  • HP laptop - 15-ac034nb: Universal Serial Controller host does not

    Hi, I had a HP laptop - 15-ac034nb energy Starr, but my USB port does not. I installed all the drivers from the site bot does do not as well. What can I do? On the status of the USB bus controller, it's like this: the drivers for this device are not

  • KB973917 w / error code 800f080d

    Help! I've tried everything. My question is this: this update is required for a 32-bit system? I have the home premium WV. I have auto update and this seems to be the only flaw. I hesitate to do a clean install, because I am very "low-tech" and I am