51. How to put small tables into the keep pool?
Alter table xxx storage (buffer_pool keep );
52. How do I check whether a patch is installed?
Check that orainventory
53. How can I enable the SELECT statement to automatically generate
Sometimes, during project development, database tables may be deleted by mistake. To avoid this problem, how to strictly control whether a user cannot perform the drop permission on his/her own database requires relevant settings. Because the
Paging:Select * from (Select E. *, rownum from (Select * from EMP) EWhere E. rownum> 5 and E. rownum )
Type:The total length of number () is 7 digits, and the decimal number is 2 digits.Date plus day hiredate + 1Add one hour hiredate + 1/24
Oracle
Recently, this problem occurs: The Oracle Table query on the Web page is normal some time ago, but the page cannot be displayed until recently. Print out the SQL statement and put it in PL/SQL devoloper for execution. The message "the temp segment
In Oracle, multiple databases can be configured, and only one listener can be enabled. for multiple databases, you only need to configure the corresponding service name to connect.
I use ORACLE 8.1.7 Enterprise Edition and the OS is a Windows 2000
Open the tnsname. ora file in the installation directory, for example, E:/Oracle/ora81/Network/admin. The file content is roughly as follows: ---www.bianceng.cnTest. softone. com =(Description =(Address_list =(Address = (Protocol = TCP) (host = zcb_8
Download source code:
Http://download.csdn.net/source/589896
Use oradbi to read multiple files stored in the Blob field and restore them to the specified path.
The complete code is as follows:
//
// Read_blobfile.c-Example of reading
Briefly record the installation of the Oracle client in Linux. Oracle client
Http://www.oracle.com/technology/tech/oci/instantclient/index.html
Install PHP to access the Oracle database and install the following two packages (the latest version
Oracle Database frequently used operation commands recently encountered a server that uses Oracle databases. After learning Oracle +, I finally got all the user passwords on the website background management interface, I found that Oracle operations
Document directory
· Character Functions
· Numeric Functions
· Date functions
· Conversion functions
· General Functions
I. common syntax
-- 1. drop table name cascade constraint -- 2. when the content in the parent table is deleted, the
Document directory
1. No input parameter stored procedure call
2. input parameter stored procedure call
Iii. INOUT process call
I. general format of the call PROCESS IN Pb
Declare my_proce procedure for p_get_name; // call execute my_proce
1. query the user's connection statusSelect username, sid, serial # from v $ session where username = 'maximo ';
Username sid serial #--------------------------------------------------MAXOMO 22 1MAXIMO 142 1
2. delete one by oneAlter system kill
Part 4 LOB type§ 4.1 LOB type4.1.1 LOB type classificationCLOB: character LOB. used to store a large amount of text information. It is stored using the default character set.NCLOB: used to store character LOB. It uses the National Character Set of
Use Truncate:Clear and recycle space (mysql, sqlserver, and other databases with auto-incrementing sequences return to zero). The database cannot be restored and cannot be rolled back;
Use drop:The table can be restored but cannot be rolled
When I was doing a project, a colleague accidentally duplicate all the data in a table while importing data. That is to say, all the records in this table have a record. This table has tens of millions of data records and is a production system.
Q. 1: Oracle immediately re-uses the space assigned to row-directory portion of the data block once you delete the corresponding rows.
1. True
2. False
2
Q. 2: Which of the following three portions of a data block are collectively called
Q. 1: What option of Exporting allows quicker data extractions
1. Grants = y2. Consistent = y3. Direct = true4. Direct = y
4: Direct = y option bypasses the SQL layer to allow quicker data extractions
Q. 2: How are exports useful?1. Can be used
Oracle Permissions
1. Permission OverviewPermission is the user's power to execute a function. In Oracle, permissions are divided into system permissions and entity permissions based on different system management methods. System permission refers
43.Use WHEREReplace ORDER
The order by clause only uses indexes under two strict conditions.
All columns in order by must be included in the same index and maintained in the ORDER of the index.
All columns in order by must be defined as non-empty.
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