Export script content:
@ Echo off
REM
REM File name Daily. bat
REM Batch Process
Reload DB Backup
REM
REM Author Frank. Fan
REM Modification History
Created 2012-05-07
REM Modified
REM
For/F "tokens = 1-3 delims =/" % I in ('date/t') do @ set
This document describes how to create and delete users and roles in Oracle. importing and exporting data imp/exp is equivalent to restoring and backing up oracle data. The exp command can export data from the remote database server to the local dmp
Note that (SID) indicates the SID Name specified during database installation, and (HOME_NAME) indicates the last Oracle Installation name of the value specified by ORACLE_HOME during installation, in Windows, the default value is similar to
How should I write SQL recursive statements in oracle databases? The following is an example of using SQL recursive statements in oracle for your reference.Example:Copy codeThe Code is as follows:Pid idA BA cA eB b1B b2C c1E e1E e3D d1Specify pid =
Oracle SQL Execution flowchart _ SQL Execution Process1. SQL statement execution steps:1) analyze the syntax and analyze whether the syntax of the statement complies with the specifications, to measure the meaning of each expression in the statement.
Check how a process executes related SQL statements in the Oracle database.Copy codeThe Code is as follows:SELECT B. SQL _text, sid, serial #, osuser, machineFROM v $ session a, v $ sqlarea BWHERE a. SQL _address = B. address;Query the SQL
The password of scott is incorrect. Go to the Administrator and modify the password of scott.Or change the password as follows:In the running column, press sqlplus (Space)/nolog and press Enter.In the pop-up box, press "conn sys/password as sysdba"
I. Creation and use of stored procedures1. Create a package and create a stored procedure in the programCreate or replacePACKAGE NCS_ICP_TJ/* Lfx@ncs-cyber.com.cn *//* TODO enter the package Declaration (type, Exception error, method, etc.) here )*//
The original statement is as follows:Select sum (sl0000) from xstfxps2 whereDhao00 in (Select dhao00 from xstfxps1 where trunc (ywrq00) = trunc (sysdate)And khdm00 = '000000 ');Time in use: 00: 02: 49.04 Execution Plan------------------------------
1. control user access1. Create and modify user Creating UsersCreate/alter user new_user identified by password;Example: create user user_1 indentified by pwd_1Alter user user_1 identified by pwd_22. grant permissions to usersGrant privilege [,
This afternoon I conducted an experiment to add, modify, and delete columns in the test table. The procedure is as follows:Add a column:Alter table emp4 add test varchar2 (10 );Modify a column: Alter table emp4 modify test varchar2 (20 );Delete a
Inner join ).External Connection:Full join, left join, and right join ).Cross join ).The outer join and the inner join are different. The query results returned by the outer join include not only the rows that meet the conditions, but also the left
In the development of oracle databases, due to time issues, the weekly chapter is too large, so the date functions of ORACLE Data are specially added to favorites. It is for another day's query.Add_months (d, n) date d plus n monthsWhat month does
Number (, )
Precision p value range: 1 ~ 38Valid bit s value range:-84 ~ 127
Maximum integer digit = p-s
S is a positive number, and the specified position on the right of the decimal point starts rounding.Negative Number of s. The specified
The ORACLE tutorial is: Oracle9iPL/SQL programming experience. I usually encounter some problems in PL/SQL programming. I will summarize them in the form of Q & A for you to share.1. Can pipelines be used to improve processing efficiency when you
The ORACLE tutorial is about Oracle database backup. I. significance:When we use a database, we always hope that the database content is reliable and correct. However, due to computer system faults (hardware faults, network faults, processes)Faults
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