14. How to Create a backup control file?
Answer: Alter database backup control file to trace.
15. How many statuses does the database normally start?
Answer: startup nomount-start the database instance
Startup Mount-Database loading
Startup
SQL> select to_char (hire_date,'Yyyy-mm-dd') From employees where rownum
We can see that the previous version is July 22, June 07, 1994. How can we remove the values of 0 and 07 In July June? Use the following method:
SQL> select to_char (hire_
Private Mode:
In the VPC configuration, Oracle starts a dedicated server process for each client connected to the server. The dedicated server process of a client only works for this client. The processes of dedicated servers are completely
Instr (STR, CHR) --- location where CHR appears 1st times in StrInstr (STR, CHR, 3rd) --- searches for the position where the CHR appears 2nd times in STR starting from the STR character positionInstr (STR, CHR,-3, 2) --- searches for the position
How to obtain the root node of the tree from Oracle9i
In Oracle 10 Gb, we can useSys_connect_by_rootThe function can easily obtain the root node. However, this function is not available in Oracle 9i.
We can indirectly obtain the root node
If you want to access the tables or views of another database server from one database server, you can use the dblink method to achieve basically the same effect as local access, as shown below:
Select * From A @ dblink_ B;
You can create a dblink
In the following usage, assign the field segment A value: nvl (AAA, 0)
When hibernate saves the result, the following error is reported:
18:35:13, 671 info integertype: 182-cocould not read Column value from result set: simulportcapacityocupied;
1. view the table space name and size.
Select T. tablespace_name, round (sum (Bytes/(1024*1024), 0) ts_sizeFrom dba_tablespaces T, dba_data_files dWhere T. tablespace_name = D. tablespace_nameGroup by T. tablespace_name;
2. view the name and
I recently used Oracle for database development. I am a pure Oracle rookie. I used to operate on ms SQL Server, so Oracle is not proficient. After oracle is installed, use sqlplus to enter the command line. after entering the username Scott
There are many methods to migrate data from SQL Server 2000 to Oracle recently, but they have their own advantages and disadvantages.
The first method is to use DTS provided by ms SQL Server for migration, which is very useful. However, fields of
In Oracle, the source code of an object can be in the user_source data dictionary.
Name type nullable default comments---- -------------- -------- ------- Begin -----------------------------------------------------------------------------------------
// Skip the execution. The skipped result is displayed inExecute dbms_logstdby.skip (stmt => 'dml', Schema_name => '%', object_name => '% ');The value of stmt can be:Http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10802/d_lsbydb.htm#997
Check listener. log to confirm no problem# Find/-name listener. Log/Home/Oracle/APP/orahome_1/Network/log/listener. Log
The location is $ ORACLE_HOME/Network/log/listener. log.
Tnslsnr for IBM/aix risc system/6000: Version 10.2.0.4.0-production on
OCI and thin are two sets of Java access methods provided by Oracle to access the Oracle database.
Thin is a thin client connection method. In this connection mode, you do not need to install the Oracle client. You only need to include the JDBC
Recently, considering the usage of temporary tables in the database write stored procedures
It is still unclear how the database is processed, whether it is consistent with the SQL server processing method.
Are there any problems, such as
Write an insert statement today to directly extract the data in a table and insert it into another table. The result syntax is missing. Searching for half a day. It's an idiot. Let's record the found syntax first...Set feedback off;Set pagesize
Oracle offlineTable space details
I. Overall offline effect:After offline, unfinished things can be submitted or rolled back, but new things cannot be initiated or queried.
Ii. Offline Syntax:
Alter tablespace
{Online
| Offline [Normal | temporary |
Concept 1A cursor is a memory Workspace of SQL, which is defined by the system or user as a variable. The cursor is used to temporarily store data blocks extracted from the database. In some cases, you need to transfer the data from the table stored
In OracleIn the execution of the stored procedure, we may want it to complete the mail sending and execution results, especially when exceptions are caught. You cannot always rely on external programs that call stored procedures-after callingSends
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