Indexof/lastindexof and lpad in Oracle
-- In the indexof and lastindexof instr ('upgrade floor ', 'or', 3, 2) of PL/SQL, the source string is 'upgrade floor ', the target string is 'or', the start position is 3, and the position of the
Solution to EM (dbconsole) Startup failure after Oracle 10g host name or IP address is changed:
From: http://sjsky.iteye.com/blog/644197PS: the host name or IP address is changed. If only PL/SQL is used to connect to the database, you do not need
[PHP]
Server Information: Linux + apache2 + OracleThe following steps assume that Linux + apache2 + Oracle has been correctly installed, especially the environment variables of oracle.[Make sure that you have correctly set the Oracle environment
We are pleased to announce that Oracle has completed its acquisition of Sun Microsystems and sun is now a wholly owned subsidiary of Oracle. with this news, we want to reiterate our commitment to deliver complete, open and integrated systems that
Reprinted from: http://space.itpub.net/519536/viewspace-626464
Oralce pairNullThere is a special "care" in the position after sorting the values, which is "nullsWith the "first" and "nulls last" options, you can use this option to forcibly specify
The previous article talked about the daily maintenance commands of Linux and the daily maintenance commands of oracle. I believe that Oracle databases must be maintained more or less. Should I import and export Oracle databases? (Oh, you said you
[Sqlserver ]:
Sqlserver considers null to be the smallest.
Sort in ascending order: The null value is ranked first by default.
Order by case when col is null then 1 else 0 end, Col
Sort in descending order: The null value is ranked last by
After successfully installing the Oracle 11g Database, you will find that your computer runs slowly, and your computer with low configuration may even experience very bad conditions, by disabling non-essential Oracle services, you can speed up your
1. For the installation process, refer to the article "installing Oracle Database 10 GB on Linux x86" on the Oracle Website:
Http://www.oracle.com/technology/global/cn/pub/articles/smiley_10gdb_install.html
2. After the installation is complete, set
If the Alert Log contains the following information:
* ** Session ID: (538.48) 08:41:30. 649
Warning: cocould not lower the asynch I/O limit to 224 for SQL direct I/O. It is set to-1
Warning: cocould not lower the asynch I/O limit to 192 for
I usually install english when installing the server operating system. This prevents garbled characters. The server system was installed by a colleague in Chinese. Garbled characters occur during database installation.
Google has a method to
ORA-01409: nosort option may not be used; rows are not in ascending order
Cause:
Creation of index
Nosort option when rows were not ascending. For non-unique indexes
Rowid is considered part of the index key. Therefore, if you create
1. Random Number packageSELECT DBMS_RANDOM.VALUE
From dual;
2. Random Number in the range of [0 .. 100]Select trunc (DBMS_RANDOM.VALUE (0,100 ))
From dual;
3. A 10-character random string larger than 'A'SELECT DBMS_RANDOM.STRING ('A', 10)
From dual;
1. Latch description
1.1 Latch
Latch is a serial lock mechanism used to protect the shared data structure in the SGA zone. The implementation of latch is related to the operating system, especially whether a process needs to wait for a latch and how
Execute immediate replaces DBMS_ SQL package in Oracle8i.It parses and immediately executes dynamic SQL statements or PL/SQL blocks created when they are not running. The performance of dynamic creation and execution of SQL statements is
1. VIEW)1.1 concepts
View ----- is a "logical table" defined by a SELECT query statement (which can be a single table or multi-Table query). It is a "virtual table" with only definitions but no data ". when creating a view, you only save the
Previously, we used the pagination function provided by the GridView. The speed is really slow. We decided that the custom paging Oracle database had more than pieces of data.
AspnetPager is doing well. Use it.
Oracle paging stored procedure:
Create
An operational http://www.diybl.com/course/7_databases/oracle/oraclejs/20071211/91845.html that gives users the permission to import dataFirst, start SQL * pulsSecond, log in with system/managerThird, create user username identified by password
Q. 1: What feature in oracle allows you to monitor Suspicious Activity on the Datbase
1. Replication
2. Auditing
3. Monitoring
4. Tuning
Q. 2: Auditing can be turned on by setting this parameter
1. DB_AUDIT_TRAIL
2. AUDIT_TRAIL
3.
Query
The SELECT statement is used to query data from the database. When the SELECT statement is used in PL/SQL, it must be used with the INTO clause. The return value of the query is assigned to the variable in the INTO clause, variable
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.