This article is mainly to summarize how to implement JDBC call Oracle stored procedures, from the following:
[1], only input in parameter, no output out parameter
[2], both input in parameters and output out parameters, output is a simple value (not
A brief introduction to Oracle 9i's 16 types of data
Oracle 9i provides a total of 16 scalar data types, as shown below.
the scalar data type name meaning of Oracle 9i
Char is used to describe fixed-length character data, length
VARCHAR2
Using rowset
Rowset is the interface provided in JDBC2.0, and Oracle has a corresponding implementation of the interface, which is useful for oracle.jdbc.rowset.OracleCachedRowSet. Oraclecachedrowset implements all the methods in resultset, but
A problem that bothers me for a long time is basically solved at 8:41 today.The data volume of the database is very large, the query speed is very slow, after indexing "=" search speed problem resolution, but in the search of the SQL statements are
Turn from: http://tenn.iteye.com/blog/99339
In Oracle, to query the top N records on a specific condition, use a rownum.SELECT * from emp where rownum And the book also warns that you can't use ">" for rownum, which means that if you want to
The connection of a table refers to the relationship between tables in an SQL statement, retrieving relevant data from one or more tables, in general, the connection between table and table can be divided into four kinds, namely equal connection,
The materialized view concept is similar to the summary table in discoverer. At the discoverer management end, you can create a different summary table. In the discoverer query, discoverer first parse the query to determine whether the query can use
--Start
I personally think that there should not be a null value in the database because he subverted the two-valued logical structure (i.e. true and false), and a three-valued logical structure (i.e. true, false, and unknown) occurred. Because of
Cursors are buffers of data, plsql do not allow output of set values, only single properties, cursors you can interpret as Ajax RowData
1 View the stored procedures under the current User: SELECT * from User_procedures;2 View all users (note that
See a lot of people forKeepDon't understand, here's an explanation.Returns the row ranked theUsing Dense_rank2 Kinds of values:Dense_rank theDense_rank LastInKeep(Dense_rank theORDER BY SL) The result set is to take the example of Max and Min.Sql>
Alternative use of Oracle profiling functions:
Over (partition by ...) in the analysis function using case when;
Cases:
Sql> with Pctest as (
2 Select 1 IDs, ' A1 ' name from dual
3 Union
4 SELECT 1 IDs, ' A2 ' name from Dual
5 Union
6
http://cherryqq.iteye.com/blog/855022
Http://www.cnblogs.com/lumnm/archive/2012/08/31/2666155.html
The Oracle job is also executed after Oracle restarts.
One: The simple test job creation process case:
1, first create a job_test table, the field
Pre-preparation work:Back up all the old Oracle files, delete the old directories, and then reinstall Oracle, the directory is the same as the old directory (if not, there are more places to modify).Install Oracle only, do not create DATABASE, if
Case when it is convenient to use when different conditions require different return values, you can use them when assigning values to variables, or you can use them in a SELECT query statement.Case Search Statement format:
CaseWhen condition 1 then
The individual understands Oracle permissions as three classes, System permissions, object permissions, and session permissions.Correspond separately:Dba_sys_privs;Dba_tab_privs:Session_privs;
Of course there's
Oracle 10g new features-code obfuscation
Author: Fuyuncat
Source: www.HelloDBA.com
Oracle 9i Previously, a command ' warp ' was provided to encrypt the code. But it's command-line, it's script-oriented. In 10g, Oracle Package DBMS_DDL
a table function can accept a query statement or a cursor as an input parameter and can output multiple rows of data. The function can be executed in parallel, and the data stream can be continuously output, known as pipeline output. The table
Oracle Predefined 21 System exception types
Access_into_nullNo object definedCase_not_foundIf the case does not contain the corresponding when, and if no ELSE is setCollection_is_nullCollection element not initializedCurser_already_openCursor
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service