I have the below sql query to insert the records from a tab开发者_开发百科le. The problem is when there is no records for select query i still want an record with the sequence number,null,\'3\' value
I have a stored procedure FOO belonging to user A.User B has EXECUTE permission on FOO. One of the procedures in FOO uses a DB Link to retrieve data from BARTABLE@REMOTEDB.A has a DB Link to REMOTEDB
I need to consume a file that is being generated on an Oracle server and I have been told to get it using the UTL_FILE package.I intend on consuming the file in a groovy script and have a connection t
I have a s开发者_开发百科elect query on a relational table in a plsql procedure. I want to convert the results of this query into a user defined type object to return via odp.net.
I am working on a rather large SQL script to be used with Oracle, but I\'m running into an issue. First, let me outline how the script operates.
I use DB2 9.7 for Linux. The stored procedure is implemented in PL/SQL (Oracle\'s programming language), so, the record set is an output parameter (SYS_REFCURSOR).
Can i use insert into tables in a procedure (on oracle) ? example: procedure my_p开发者_JAVA百科rocedure (aa1 number ,aa2 number ) is
* EDIT6: * This is what ended up working for me (from accepted answer): var ret1 number var tran_cnt number
I want to know about error handling in PL/SQL. Can anyone help me to开发者_开发问答 find brief description on this topic?Every block can have an exception handler. Example:
I\'ve seen magical Vim commands before that you could add to your .vimrc to have folds created upon opening a particular type开发者_如何学JAVA of file.I remember having such code that would create the