During the project transformation, the paging data written by the original colleague is to query all records from the database and then to the paging data. Now, the paging data is transformed to dynamically querying the split pages and the number of
Colleagues want to save the stored procedure written by the project team, instead of dumping, but they can view it at any time. Each stored procedure is stored as an independent file. The first thing that comes to mind is that the development tool
1. Obtain the scn Number of the current database
Select current_scn from v $ database; (switch to sys user or system user query)
The queried scn number is 1499223.
2. query the scn before the current scn number
Select * from table name as of scn
First, refer to the official documentation: http://docs.oracle.com/cd/B28359_01/install.111/b32002/install_overview.htm
If you are not a ULN customer, and you are running Red Hat Enterprise Linux or Oracle Linux, then you can obtain the Oracle
: All departments.Select dept. deptno, dept. dnameFrom dept, empWhere dept. deptno = emp. deptno2. List all employees with higher salaries than SMITH.Select * from empWhere sal> (select sal from emp where ename = 'Smith ')3. List the names of all
Before installation, note: Install the environment in this article: install the required package (under the root account ):
binutils-..-libstdc++--.-libstdc++--. (-libelf--libelf-devel--.-c++-.---- (-common--devel--devel- (-headers---.-.
Use PL/SQL to connect to Oracle without installing the Oracle client
1. Download a software named Instant Client Package from the Oracle website. This software does not need to be installed and can be used as long as it is decompressed. :
The following are all Oracle database connection strings. The summary is very detailed, but I did not summarize them. I just learned from Oracle. Paste it out. First, it is convenient for you to search for it later, and second, it also provides
1. sqlplus/as sysdbaOperating system authentication does not require the database server to start listener or the database server to be available. For example, if you want to start the database, you can accessSqlplus, and then start it through the
ORACLE has a high-speed buffer concept. This high-speed buffer is used to store the executed SQL statements. corresponding to the executed SQL statements, the second execution speed is faster than the first one, it uses high-speed buffering. The
The SQL statements that I often use in my daily work are summarized as follows for future reference. 1. SELECT * FROM t_doc t order by greatest (T. load_Count, T. read_Count) desc 2. select t from the sum of the two columns. *, (nvl (T. load_Count, 0
1.Java. SQL. SQLException: Invalid column type
Cause:
A. the Data Type of the incoming, OUT, or typeHandler parameters IN ibatis does not match the data type of the attribute values IN the Oracle custom object;
B. What is in the call SQL
The processing process of an explicit cursor includes:
Declare the cursor, open the cursor, search the cursor, and close the cursor.
Declared cursor
CURSOR c_cursor_name IS statement;
A cursor is equivalent to a query result set. The query result is
Run tkprof in the system to convert the trace file into a format that can be read by humans.(I personally don't feel very good. I don't need to get a good format when the trace file is output)
Syntax:Tkprof tracefile
1. Summary of Materialized View definitions:The materialized view is a database object that contains a query result (the system regularly refreshes the data). The materialized view is not read during use, it is used to pre-calculate and save the
Today, I checked the alter _ . log of the ERP DB server and found an error.
Sat Sep 14 14:49:42 CST 2013Error 2068 trapped in 2 PC on transaction 47.12.104933. Cleaning up.Error stack returned to user:ORA-02068ORA-03135
ERPSALES indicates that
DBMS_RANDOM.STRING (var1, var2)
This function has two parameters.
The var1 parameter values include u, l, a, x, and p.
U --> uppercase
L --> lowercase
A --> mixed case
X --> uppercase, alpha & numeric
P --> any printable char
The above
Many netizens are putting the REDO01 ~ 03. After the three redo logs are deleted, the database cannot be logged on normally. The following example shows the specific recovery process, hoping to solve the problem for you:
I:
C:/> sqlplus/nolog
II:
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.