1. Oracle first creates a custom table type (Note: The type name must be in uppercase; otherwise, an invalid name is reported.)
Create or replace type mailidtable as table of number (1 );
2. Java (Note: a new connection must be established here,
The Automatic Import and Export of Oracle databases are widely used in many places. for example, after an Oracle database application system is developed, if you want to install the system on your computer, you need to import the initial data to
1. Oracle configuration and migration tool ----> net configuration Assistant2. Local net service name configuration ----> Add ----> service name (which is also a global database name, which can be set by others) ----> TCP ----> Host Name (IP address
In sqlplus, use DESC [Ribe] tablename directly.
It can be used in external applicationsProgramThis command cannot be used when you call to view the table structure in Oracle.It can only be replaced by the following statement:
View Field Names and
1. updates table products information based on whether the product_id field of table newproducts matches:SQL> merge into products P2 using newproducts NP3 On (P. product_id = NP. product_id)4 when matched then5 Update6 set P. product_name = NP.
Create or replace function fun_insertperson(P_id out number,P_user_name varchar2,P_password varchar2,P_real_name varchar2,P_birthday date)Return varchar2IsReturnval varchar2 (50 );BeginSelect seq_personid.nextval into p_id from dual;Insert into
The table has two fields: ID and name:Data available:1.;2. B;3. C;4, C;5. BSelect distinct name from table; --> name A B CSelect distinct name, ID from table --> ID name 1 A 2 B 3 C 4 C 5 B (only those with the same ID and name will be
Oracle logical BACKUP command exp/IMP parameter reference manual HELP command: EXP help = y
Export: Release 10.2.0.1.0-production on Thu Jul 20 10:39:50 2006
Copyright (c) 1982,200 5, Oracle. All rights reserved.
You can let export prompt you
1. Open a terminal in the graphic interface of the Linux server and enter the following command;
Xhost +
2. Switch to an oracle user and run the following command:Su-Oracle
3. Specify the variables and values of the database instance. Assume that
Oracle, as a large database, is widely used in finance, post and telecommunications, electric power, civil aviation, etc.
An important sector that has a huge data throughput and is widely used in computer networks. For the system administrator, how
This is the SQL solution of zookeeper.
Http://blog.csdn.net/happyflystone/archive/2009/01/17/3819863.aspx
Reference requirements
Today, I chatted with Liang Weng in the group. The little guy suddenly threw out an interesting question, that is,
1. Start the listener: LSNRCTL start2. Start a database instance:Sqlplus/nologConn/As sysdbaStartup -- followed by the database instance name
---------- Use dbstart and dbshut to start and close database instances ------------1. Enter the bin in
An SQL query method that subverts the SQL query statements that begin with select.
create table t (x number(10), y number(10));insert into t values (1,110);insert into t values (2,120);insert into t values (2,80);insert into t values (3,150);insert
DatabaseIt stores a large amount of data, and uses like when querying, the speed is obviously slow. When I was working on a project, I found that I could use the instr function to replace the like function.
1.% A % method:Select * From pub_yh_bm
I did encounter a connection failure, but my problem is that the NTFS permission problem has been solved.
But I saw another guy's problem and solved it. I felt like I had another idea. Mark it.
Solve the problem that ASP cannot connect to the Oracle
1. Modify core operating system parameters
Perform the following steps under the root user:
1) modify the user's shell restrictions and modify the/etc/security/limits. conf file
Enter the command VI/etc/security/limits. conf, press the I key to
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.