The following information is from the Internet, posted a save for later use, one for everyone to share.
Character function--returns the character value
These functions all receive the arguments of the character family type (except CHR) and return
The first thing that comes to mind is contains,contains usage as follows:
SELECT * from students where contains (address, ' Beijing ')
However, using the CONTAINS predicate has the condition that the column is indexed, that is, if the
such as: 2000-1-1==> 2000-01-01, 2000-01-1==>2000-01-01, 2000-1-01==>2000-01-01
Used to write a script like function/procedure, a lot of if ELSE ...
This time inadvertently found that ORACLE10G has supported the regular function, the above problems
I. Memory dumps
1). Global Area
ALTER session SET EVENTS ' immediate trace name Global_area level n ';
1 contains PGA
2 contains SGA
4 contains UGA
8 contains indrect memory
2). Library CacheALTER session SET EVENTS ' immediate trace name
1. Invalid month problem
When you recently inserted a time into the database, Oracle reported an "invalid month issue" with the following SQL:
Copy Code code as follows:
INSERT into Ts_count (
Id,cname, StartTime, Endtime,value
) VALUES (
(1) View character set (three is equivalent)
Copy Code code as follows:
SELECT * from v$nls_parameters where parameter= ' Nls_characterset '
SELECT * from nls_database_parameters where parameter= ' Nls_characterset '
SELECT * from
I. Basic query statements, Special symbols | | Make column aliases as, uniquely labeled distinct
1. Character Connector "| |" and "+" characters
Oracle:select Column name | | ' 111111111111111 ' from table nameSql:select column name + ' 11111111111
1. Overview of Views
A view is actually a query SQL statement that displays related data in one or more tables or other views. The view uses the results of a query as a table, so the view can be viewed as a stored query or a virtual table. Views
1. ASCII
Returns the decimal number corresponding to the specified character;
Sql> Select ASCII (a) a,ascii (a) a,ascii (0) Zero,ascii () space from dual;
A A ZERO space
--------- --------- --------- ---------
65 97 48 32
2. CHR
Give an integer and
Test hardware Instructions:
The test used is my love machine, configured as follows:
cpu:c433
Memory: 128M
Hard drive: Cool fish 2 generation 20G
Test Software Description:
WIN32 is under Windows NT Server4,sp5,apache 1.3.12,php3.0.15 and
Indexing is the most effective way to improve data querying and is the most difficult technology to master, because proper indexing can increase efficiency by 10,000 times times, and invalid indexes may be a waste of database space, or even greatly
Oracle CPU is too high to handle, this article will describe the Oracle process CPU usage is too high, need to know more than friends can refer to the
1: First use the top command to upload the CPU-intensive SPID number
PID USERNAME THR PRI Nice
This article describes the process of C # connecting to an Oracle database. With Oracle.DataAccess.dll in Instant client and odp.net, we can easily deploy. NET applications or sites without having to install Oracle clients. Next we'll introduce the
Session: In a computer, especially in a network application, called a conversation.
Session: In computer terminology, session refers to the time interval between an end user communicating with an interactive system, usually the time elapsed between
Using OCI to enter data into the datasheet ' Email_info '
Ditto, just use OCI to write
Related PHP Code:
if ($submit = = "click") {
The Submit button was clicked!
Get the input for fullname and email then store it in the database.
PUTENV
I used to connect remote oracle8.0.5 for NT Enterprise version with PHP, not with Odbc,oracle interface. I'm too desperate! Looking for, and finally found the right way to connect, I use the OCI Interface, ODBC and Oracle or not to find%m epiphyseal?
The Oracle 10g clusterware processes on unix-based systems are:
Oracle Clusterware
Oracle-provided Clusterware that manages clusterdatabase processing including node membership, group services, global Reso Urcemanagement, and high availability
(summary) Oracle monitoring service LSNRCTL parameters and query statusLsnrctl command Common parameters in detail:
LsnrctlStartStart the specified listener
StopClose the specified listener
StatusDisplays the status of the listener. The
E:\>exp help=y By entering the EXP command and username/password, you canCommands after the user/password: Example: EXP Scott/tiger Alternatively, you can control how export runs by entering an EXP command with various parameters.To specify
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