1:DDL statementsCreate a student tableCREATE TABLE Stu (ID Number (6) is not NULL,Name VARCHAR2 (20),Age Number (3),Gender char (1) Default ' m ',Grade number (1),Class VARCHAR2 (Constraint STU_CLASS_FK foreign key references class (ID),Email
Environment: Centos7+oracle 11GR2Public network: Fixed IPSymptom: 1521 port normal, netmanager configuration test Normal, PLSQL connection hint Ora-12514:tns:listener does not currently know of service requested in Connect
The oracle11g password file is under directory/u01/app/oracle/product/11.2.0/dbhome_1/dbscommand to create a new password fileOrapwd File=orapwcapaas (orapw+ database sid) password=oracle123 (SYS user's password) entries=10 (maximum number of
At the same time, modify Tnsnames.ora, Listener.ora the two files in the host behind hosts are modified to 127.0.0.1 and then restart Oracleservicexe, Oraclexetnslistener servicesListener.ora file revised toSid_list_listener = (Sid_list = (Sid_desc =
Create user user name password is sqltrain Create user Sqltrain identified by SqltrainAssigning permissions to user names Grant resource,dba,connect to Sqltrain;Change Password alter user Sqltrain identified by SqltrainLock user alter user
Starting early this month to learn Oracle, because it is completely 0 start, from the beginning of the installation of Oracle Download 1.1 to learn, today the system has been re-done, and then installed again ORACLE11GR2, the installation process to
After the Oracle installation is complete, find the SQL plus run in "Start" and ask for an account number and password to connect with the system/password.1. Oracle has a default Scott account password Tiger, which is connected using this
40. Installation Steps of Oracledatabase11g in Windows XP
Example of how to install Oracle11g R2 on Windows 7 32-bit operating system. Let's just talk about it.
1. Extract the two oracle 11gR2 packages to a separate folder.
2. Find setup.exe in the
Install and use Oracle in windows
I. Download the oracle database from the official website
Here I downloaded oracle 11g r2, and selected the corresponding download file based on my operating system. Here I am windows 64-bit, so select the second
0005 SQL note Note 01-SELECT statement, select statement example
1. SELECT basic statements:
SELECT field name 1,..., field name n FROM Table Name
2. Search all fields and replace the field name with "*", which leads to inefficiency.
SELECT * FROM
PL/SQL Developer exports data scripts and data, pldeveloper
If you only Export the table structure (Table creation statement) and do not Export the table data, you can use Tools -- Export User Objects.
Select the table to be exported, set the Export
Oracle study Note 5 --- Table queryThe scott user is used below. The tables used are shown at the bottom.1. view the table structureDesc [Table name] desc emp2. Run the distinct command to remove duplicate lines.3. ExerciseSelect deptno, job, sal
0001 Oracle database installation, 0001oracle Database
I started learning Oracle from the beginning of this month. Since it was completely zero-start, I started learning from Oracle download and installation at. Today I re-installed the system and
Oracle Database basic learning (5) Multi-Table query, oracle Database
Multi-Table query:Two or more tables are required for the query result. Multi-table join is required to generate multi-Table query.
1. Internal Connections (equivalent
Chinese data garbled by sqlldr
When data is installed on the test machine, all Chinese fields are changed ???????, Character Set ProblemsChange UPDATE sys. props $ set value $ = 'we8iso8859p1 'where name like 'nls %' and value $ = 'zhs16gbk'; commit;
Advantages and disadvantages of using SQL GUID and auto-increment columns as primary keys [reprinted], sqlguid
All databases in our company use GUID as the primary key. Many people are used to using int as the primary key. So here we will summarize
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