Date Format: DD-MON-YY
Run the following command on the server to checkSysdate
SQL> selectSysdateFrom dual;
Sysdate ----------September 10-07
Therefore, on the Chinese platform, mon cannot be written in English as the month. Therefore, it
In Oracle, connect by is used to implement tree-like query. In this case, the level pseudo column can be used to implement hierarchical query.The specific usage is as follows:A menu in a table records the levels of menus. The table structure is as
/U1/topprod/tiptop E p_zz\ 033 [? 7h \ cProgram stopped at 'azz _ p_go.4gl ', line number 18.SQL statement error number-6372 (-12518 ).ORA-12518: TNS: Listener cocould not hand off client connection\ 033 [? 7l \ c program stopped at 'lib _
PreparationsDownloadHttp://jaist.dl.sourceforge.net/sourceforge/zxjdbc/zxJDBC-2.1.tar.gzHttp://jaist.dl.sourceforge.net/sourceforge/jython/jython_installer-2.2.1.jarDownload the corresponding ojdbc version based on your JDK
1. http://www.oracle.com/technetwork/database/windows/downloads/odpmbeta-1696432.html download Oracle driver, this is managed version.
2. After the installation is complete, you can see Oracle-related tools in vs2012, which is much easier to use
Oracle 11.2 command line manual and simplest database creation processThe process of manually creating a database using the command line
Environment: RHEL 5.4x86, Oracle 11.2
1. Set Environment VariablesEdit in/home/Oracle#. Bash_profile
# Get the
The role of the Oracle database machine is not only the convenience of integration, but also the development direction of the database in the future. It can be said that Oracle Database machines have a cross-era significance.
Lead: When started, you
Dbms_stats can effectively estimate the statistical data (especially for large partition tables), obtain better statistical results, and finally develop a faster SQL Execution Plan.Exec dbms_stats.gather_schema_stats (Ownname => 'Scott ',Options => '
When installing clusterware, an error is reported. to reinstall it, you must first clear the installed cluserware. Otherwise, the next installation may be affected. Generally, you only need to run the rootdelete. SH and rootdeinstall. Sh scripts
Indexes play a huge role in database access performance. Designing a proper index is crucial to system performance adjustment. Using indexes is the most difficult aspect in the database development process. Pay attention to the following aspects
By configuring the Oracle heterogeneous service proxy (heterogeneous services agents), we can access various non-Oracle databases through Oracle, such as SQL Server, Informix, and Sybase.
-- Zql
By configuring the Oracle heterogeneous service proxy (
There are two ways to modify the character set:
1) Export the original database, re-create a new database for the new character set, and then import the database. Note that you need to export and import the character set of the client.
2)Alter
In the past few days, I spent some time sorting out the maintenance and management operations of Oracle listeners, and figured out all the previously blurred points. The document is a bit long and the directory is as follows:
:
Oracle experts can collect statistics for CBO in a simple way. Currently, it is no longer recommended that you use the old-fashioned analysis table and dbms_utility method to generate CBO statistics. Old methods may even compromise SQL Performance,
Initial data load)
Before synchronization, initialize the data on the target end.There are several methods for online migration. Here we adopt two more reliable methods: import data to replicat through the database tool (expdp/impdp) and file. We
An error was reported on the site, indicating that the backup data was incomplete due to an error during logical backup. A table with dozens of GB Data volume was exported to less than 1 GB. The error message is as follows:
EXP-00056: Oracle error 1
I. Introduction
The data warehouse technology is a well-known and widely used solution. It is used for all scattered raw business data within the entire Telecom Operating Company and through convenient and effective data access means, users of
I. Description
A netizen asked me to store a query result set to the temporary table. If I estimated the size of the temporary table, I wanted to calculate it through the statistical block. Later I thought that this method was not very operational.
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