Recently in the use of Oracle, often to import export data, commands are simple, but often forget, so write down.Drop UserYfplssCascade;--log on to the system user to delete the existing user name and everything under that user is deleted.--CREATE
Manually start two instancesSu-oracleLsnrctl start-Suppose one instance is ITSM and the other is testExport ORACLE_SID=ITSMSqlplus/as SYSDBAStartupQuitExport Oracle_sid=testSqlplus/as SYSDBAStartupQuitAuto-start, can be set in/etc/rc.local, add the
Oracle: Numeric random function is dbms_random.value (maximum, minimum) usage is select Dbms_random (3,0) from dual;Oracle: The function that gets the first 100 is RowNumber Oracle:cast ((NVL (sum (case B.HGXS when B.jcxs then 1 end), 0)/nvl (count (
In Oracle, the non-equal sign has the following options:<>,!=,^=Test SQLCREATE TABLE test ( ID int, name VARCHAR2 (Ten), age int) insert INTO test (id,name,age) VALUES (1, ' Zhangsan ', 23 INSERT into Test (id,name,age) VALUES (2, ' Lisi ', ");
There are a lot of tutorials on plsql connections, the most important of which is the listener and tnsnames two files under D:\oracle\product\10.2.0\db_1\network\ADMIN. After repeated modification and testing, finally succeeded.Listener file:#
An empty table cannot export an issue:Data Discovery There's a new feature in Oracle 11g : A new parameter "deferred_segment_creation" means that paragraph delay is created, which is true by default . What does it mean
1. Log in to SYSDBA database2. Querying snapshots based on point-in-timeSELECT * from source$ as of TIMESTAMP to_timestamp (' 2014-02-24 05:10:32 ', ' yyyy-mm-dd HH24:MI:SS ') where source like '%CP _eas_costbreakdown_info% ';
CREATE OR REPLACE FUNCTION idfms.func_dec236 (parm in INT DEFAULT 0)RETURN VARCHAR2Is/*10 binary number to 36 binary number*/SRC VARCHAR2 (+): = ' 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ '; --Change to another string, which is any binaryLEN INT;Res
NUMBER (x, y) Data Types in Oracle databases
Test preparation Analysis and Experiment 1 processing of decimal part 2 maximum value that can be saved 3 Minimum value that can be saved Summary
The NUMBER data type of Oracle indicates a decimal NUMBER,
ArcSDE command, arcsde
1. sdemon (case sensitive)(1) sdemon is mainly used to manage sde services, including 7 commands. You can enter sdemon-h in the command line to view all sdemon commands.
Status: obtains the status of a specified instance.Start
Summary of common Oracle operations and summary of oracle1. oracle modifies the table name, column name, field type, adds a table column, and deletes a table column:
Alert table scott. test rename to test1 -- modify the table nameAlter table scott.
ORACLE records the IP address of the connected user and the IP address of the Login Failed User
The main function is to record the IP addresses of logon users and the IP addresses of Logon failures in oracle.1. You need to create a trigger to record
Oracle time format and integer format conversion
If the time field of the Oracle database is set to the "NUMBER" type, the query Time column is displayed as a numerical value, such as the "1241450728000" style, which is not readable; if the update
Five-part oracle learning starter series: memory structure, database structure, and process
Oracle getting started Series 5
Memory Structure, database structure, process1. Oracle Database Structure
This topic can be found on the Internet, not to
Oracle divides a column into multiple columnsOracle divides a column into multiple columns
In Oracle, we can use listparts (Oracle 11g and above) to merge multiple rows into one column. Now we need to split one column into multiple columns.
Create a
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