These two days did the import and export table data for Oracle.1.oracle provides three ways to import and export files, (1) Oracle Export/import (2) SLQ export/import (3) PL/SQL Export ImportThe second method is suitable for import and export of
1,regexp_like: Similar to the function of like2,REGEXP_INSTR: Similar to the function of INSTR3,REGEXP_SUBSTR: Similar to the function of SUBSTR4,regexp_replace: Similar to the function of REPLACEThey are used in the same way as Oracle SQL functions
Multi-table query basic SyntaxThe Cartesian product is implemented in SQL as a cross join. All connections are made to the temporary Cartesian product table, the Cartesian product is a concept in relational algebra that represents any combination of
1, the characteristics of the indexA, a large table with read-only me or less insert, update, or delete operations can improve query speed.b, you can index one or more columns of a table.C. There is no limit to the number of indexed builds.D, the
SQL code
1. Error name error code error meaning
2. Cursor_already_open ora_06511 attempts to open a cursor that is already open
3. Invalid_cursor ora_01001 attempting to use a cursor that is not open
4. Dup_val_on_index ora_00001
1. View instance name: Show Parameter instance_name2. Check to see if the database archive is open: Archive log list3. View SPFile parameters: Show Parameter SPFile4. View Log file location: Select Group#,member from V$logfile5. View archived files:
Create userOverview: In Oracle, to create a new user using the Create USER statement, you typically have DBA (database administrator) permissions to use.Create User by password;(Oracle has a problem, the password must start with a letter, if it
Oracle database installation to reserve 5G space, Oracle Common version· Oracle8, oracle8i: where "I" means the Internet, which means that Oracle is starting to evolve to the network,· Oracle9i: Is the stable version of Oracle8i, but also now see
Set head offSet Lin 150Set pages 0Set Long 10000Select TEXT from User_source t where T.name = upper (' get_car_status_new ') Order by TYPE, line;=======================Set pages 0Set Longchunksize 3000Set Long 2000000000Set head offSet Linesize
Set Linesize 120Set PageSize 20Column file_name format A8V$nls_parameters a table in the data dictionaryNote about NULL:1: Empty expression with null result2: Determine whether a value equals null is used is does not equal with IS. Remember
1. Using Dba_viewsFallback to a specific time period to view the definitionSelect View_name,text from (SELECT * from Dba_views as of TIMESTAMP (systimestamp-interval ' 5 ' hour-interval ' "min Ute)) where view_name= ' vp_taskclass_info ';Note that
1. View the current user's basic information
SELECT * FROM User_users
2. View the role of the current user
SELECT * FROM User_role_privs
3. View System permissions and table permissions for the current user
C # connecting Oracle databases can implement many of the features we need, and here's how C # connects Oracle database query data, and if you're interested in C # connecting to Oracle database, you might want to take a look at this.Using System;
--Query field name, field type, field comment Select dd.*, EE. Constraint_type from (SELECT t.column_id, T.column_name, (case when (t.data_t YPE = ' VARCHAR2 ' OR t.data_type = ' RAW ' then T.data_type | | ' (' | | T.data_length | |
Which linker and compiler are used when relinkOracle software is used?
Which linker and compiler are used when relink Oracle software is used?
Reference:Required linker and compiler locations (Document ID 1012798.6)Problem Description:===============
Oracle ---- Data OperationsInsert Null ValueRun the following query:
Insert into emp (empno, ename, job, sal) VALUES (1005, 'yang hua', 'cler', null );
Copy Data:Multiple rows of data can be inserted at a time. Step 1: Create a new table manager:
Oracle learning path (6) two practical examples1. Simple data insertion example
-- Created on 2015/6/15 by LYH declare v_fnumber varchar2(10):='qwe'; v_fname varchar2(10):='lyh'; v_fage int:=10; v_fsalary int:=101.00;begin INSERT INTO
[Oracle] First Trial of Oracle
I don't know how much you know about Oracle? Is it just to the extent that it can be used. In this case, I will follow my steps to learn more about Oracle and unveil the secrets of Oracle.
For the installation of
Startupalter. logspfile. ora
SQL> select * from v $ version where rownum = 1; BANNER implements Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-ProductionSQL>! Cat/etc/issueEnterprise Linux Enterprise Linux Server release 5.5 (Carthage)
ENABLE_DDL_LOGGING initialization parameters for the new 11g feature
ENABLE_DDL_LOGGING starts from 11g, but there are bugs in 11.2.0.2 and 11.1.0.7. This bug is described:
Bug 12938609-ENABLE_DDL_LOGGING does not log RENAME table statements
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.