/* Memory space parameters allocated for creating Bitmap indexes to accelerate index creation */
Show parameter create_bit;
/* Change the index storage parameter */
Alter index index_name pctfree 30 storage (initial 200 K next 200 k );
/*
We may see this situation where a table is not fully designed, leading to duplicate data in the table. How can we delete duplicate data?Duplicate data may be in the following two cases. In the first case, only some fields in the table are the same,
Client object browser8 link to win server 2012 server Oracle 11g error 01017:The solution may be as follows:Win + run -------> cmd ------->? Run the following command:1. sqlplus/assysdba2. sqlplus-Alter system set sec_case_sensitive_logon = false
Create user cmsuser identified by "cmsuser ";
SQL> create user uumcuser identified by "password ";
User Created.
SQL> grant connect, DBA to uumcuser;
Grant succeeded.
SQL> grant exp_full_database, imp_full_database, resource, create any
Execute the following SQL statement to generate a script to prohibit, enable, and delete constraints, and then execute it:
Disable all foreign key constraints
Select 'alter table' | table_name | 'Disable constraint' | constraint_name | ';' from
My machine is 5l, Oracle9i, weblogic6.1, httpserverThe level of the other party is limited because of the machines installed for others (I am also very good at cooking). In order to worry about it, it is better to let the system automatically run
Today, my colleague asked me a question about how to determine which tables have specified columns in Oracle.
After trying, the following SQL statements can be queried.
Select table_nameFrom user_tab_columnsWhere column_name = 'id'
Lists all
1. Oracle10g installation, relatively simple
1. Go to the Oracle website to download the Oracle version of Vista:Oracle Database 10GRelease 2 (10.2.0.4) for Microsoft Windows Vista x64 and Microsoft Windows Server 2008x64
2.decompress the
I have never been familiar with Oracle. I have learned a lot from my brother's demonstration today, so I wrote this article to record it. Let's talk a little bit about the situation:
Environment: Windows2003 + oracle9i is installed in vpc2007 as the
Record variable
Define a record variable using the type command and % rowtype. For more information about % rowstype, see related materials. Record variables are used to extract data rows from the cursor. When multiple columns are selected for the
Use query in a cursor For Loop
You can define a query in a cursor for loop. Because no explicit declaration is made, the cursor has no name, and the record name is defined through the cursor query.
Decalre
V_tot_salary EMP. Salary % type;
Begin
For
SQL> select tablespace_name, file_id, Bytes/1024/1024, file_name from dba_data_files order by file_id;6. display the current connected user---------------------SQL> show user7. Use SQL * Plus as a calculator----------------------SQL> select 100*20
PL/SQL provides us with the function of debugging stored procedures, which can help you complete the pre-compilation and testing of stored procedures.
Right-click the stored procedure to be debugged and choose test
If you need to view the
A function is a program with zero or multiple parameters and a return value. Oracle has a series of built-in functions in SQL, which can be called SQL or PL/SQL statements. functions are mainly divided into two categories:
Single Row function and
We may see this situation where a table is not fully designed, leading to duplicate data in the table. How can we delete duplicate data?
Duplicate data may be in the following two cases. In the first case, only some fields in the table are the same,
1. log on with an oracle userIf you want to install it again, you 'd better back up the data first.The script includes the user's login script, the script for automatic database startup and shutdown, and the script for automatic listener startup.If
We know the minimum parameter requirements for creating an oracle instance. During Oracle startup, you need to read the parameter file (pfile/spfile) to create an instance. during Oracle startup, the order of search for parameter files is spfile.
1.If you cannot run./runinstaller and the error X11 is displayed, run the following command as root # xhost +
2. If you enter the dbca command, the interface disappears inexplicably In the last step, and the following error message appears on the
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