My Oracle database was installed last November and then configured, and then it was normal, no problem, but then I didn't use my local Oracle, and PL/SQL was always a colleague's machine, Then today suddenly want to do some tests on their own
--Select 30 of employees in the departmentSELECT * from EMP where deptno=30;--List all clerks ' names, departments, numbers--Using the internal connection, that is, the equivalent link, is also the most commonly used linksSELECT ename,empno,dname
When you cache intermediate data, you need to create a temporary table, in fact, Oracle itself is very much considered in this respect, unless there are some advanced applications, I would consider to create a temporary table. At present, all
"Failure Phenomenon"February 8, 2015, oracle10.2.0.4 Single instance database, suddenly crash, but into the reboot run recovery. Check Alert.log log found the following "ORA-00600, ORA-27091, ORA-27072" error message.Errors in
In 9i, Oracle introduced the concept of flashback, which can return data to a point in time, but is not yet supported for DDL statements such as Drop/truncate. Entering the oracle10g, this flaw has been remedied. The missing table can be retrieved
In $oracle_home/bin, there are two scripts, Dbstart and Dbshut, that enable Oracle to boot from the two Oracle-brought scripts. This script contains Oraclelistener, instance, ASM instances start-up, and the same dbshut is the role of the shutdown
Hardware environmentIBM X3850 X5 Server 4 CPU 10 cores
Software EnvironmentWindows R2 Enterprise Edition, Oracle 11.2.0.1
In the process of installing Oracle at customer site today, the software, monitoring is installed, and finally in the DBCA
Note: The name of the table you want to query is capitalized. For example: ' USER '1. Find all indexes of the table (including index name, type, constituent column):Select T.*,i.index_type from User_ind_columns t,user_indexes i where t.index_name =
To start and shut down a database, you must log in as a user with Oracle Administrator privileges , typically logged in as a user with SYSDBA permissions. Generally we use the SYS user to start and close the database with a SYSDBA connection. Here
Solaris Ten (x86) build Oracle 10g RAC--build databaseSystem environment:Operating system: Solaris ten (X86-64)Cluster:oracle CRS 10.2.0.1.0Oracle:oracle 10.2.0.1.0 650) this.width=650; "src="
First, Oracle materialized view syntaxCreate materialized view [view_name]Refresh [Fast|complete|force][On [Commit|demand] | Start with (start_time) next (next_time)]As{Create a query statement for materialized views}These are the syntax commonly
Transferred from: http://blog.sina.com.cn/s/blog_af26e333010194ht.htmlA recent modification of an Oracle trigger encountered two problems in the process:Select LastName from Hrmresource where ID in (waigaunyanshourens);This SQL as long as the
1 Generating a sceneDesigner-> item->odi_exercise, first folder, package->first _pkg, right-click, generate SceneDetermineBuild the scene.2 Schedule 2.1 New ScheduleDesigner-> Project->odi_exercise, first folder, package->fitst_pkg->
Oracle Database Migration-FundamentalsAs a developer, database knowledge must be in our hands. But now the company's database is dedicated DBA maintenance, usually give us an environment address, and then we write Crud SQL. And the company's product
Oracle Regular ExpressionsIn practical applications, you want to exclude field values with Chinese:
Select H.froomnumber from T_broker_house h where Regexp_like (Froomnumber, ' ^ ([a-z0-9a-z]|-) *$ ')The string ' ^198[0-9]$ ' can match ' 1980-198
First, why need data backupThe main reasons for data loss:1, media failure.2, the user's error operation.3, the server's complete collapse.4, computer viruses.5. Unforeseen factors.The fault types in Oracle are divided into the following 4
How to Set auto-increment primary keys in oracle
First, you must have a table!
Create table example (ID Number (4) not null primary key,Name varchar (25 ),Phone varchar (10 ),Address varchar (50 ));If you have any questions about the preceding table
Step by step, gathering small streams ------ quickly add test data to oracle
Some time ago, problems were found during implementation and need to be modified at that time. Because the data in the database is real data, it cannot be modified.
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