We all know that after the Oracle database installation, the default will have such a number of system roles or permissions, Nomal,sysdba,sysoper, and so on, each time you log in to Oracle, is directly logged in as Conn/as sysdba, But I never knew
Create user Mchis profile ' DEFAULT ' identified by ' mchis#150 ' account unlock;grant dba to Mchis;Modify one of the
Mchis (user name)
mchis#150 (login password)
Mchis (with user name consistent, function as authorization)
This
Oracle create user, grant permissions, and delete user create user Oracle to tablespace users without permission alter user username quota unlimited on users;Creating a temporary tablespace create temporary tablespace test_temp tempfile '
Today, using Navicat to connect to the Oracle database, the following error was reported: "ORA-12737 Instant Client light:unsupported server character Set ZHS16GBK"From this error, it can be known that the client does not support the server-side
Create directory gives us the flexibility to read and write files in an Oracle database, greatly improving the ease of use and scalability of Oracle.Its syntax is:CREATE [OR REPLACE] Directory directory as 'pathname';This case is specifically
Brief analysis of packagePackages in Oracle Brief analysis of the basic concept of a packagePackages can organize several functions or stored procedures to be stored as an object. The package is usually composed of two parts, specification
Temporal tables in OracleIn Oracle, a temporal table is "static", and it needs to be created one time, just like a normal data table, and its structure is valid from creation to deletion. In contrast to other types of tables, temporary tables
First step: Catalog-- Database Files directory$ cd $ORACLE _base/oradata$ ls-- When you see a library that already exists SIDPROD$ pwd-- Take a look at the absolute path/u01/app/oracle/oradata$ mkdir HYL$ ls-l-- production look at the directory and
How to connect to Oracle remotely with Plsql on a computer that does not have Oracle installedDownload Instantclient, my is WIN7, download is Instantclient-basiclite-nt-12.1.0.1.0.zipUnzip to a fixed directory such as C:\instantclient_plsqlCreate a
Control file is one of Oracle's physical files that records information such as the name of the database, the location of the data file, and so on. The importance of the control file is that once the control file is corrupted, the database will be
a while ago, to do Oracle restore of the database. Because it's a rookie, I didn't use oracle database. So many places do not know how to start. in the SQL Server database restore, nothing more than an additional database . Or use a script to
Calculates the number of workdays between two dates (excluding the two dates, excluding weekend)Reference from:How to Compute business days for a Date Range in SQL or Plsql (Doc ID 1014162.6)There are two ways of doing this:The first is to use an
Configure OEM Environment variablesOracle_unqname= $ORACLE _sidTo open the OEM Web management program, you must first start database listener, and then start the Datebase control port monitor, but you encounter the following situationProblem:[Email
Method One,Just define the "ordinal" as a formula, and set the formula to: Get_block_property (' Block_name ', Current_record) can be implemented, or put this line of statements into the "When-create-record" trigger.Disadvantage: The line number
Directory
Directory
Linux Platforms
Windows platform
Linux PlatformsGo to the Bin directory of the CLIENT's installation directory (Client_home)$ cd CLIENT_HOME/binTo use the file command to document an executable file$
CURSOR traversal in Oracle stored procedure, call job timed execution1, first use for loopThe For loop is a relatively simple and practical method.First, it will automatically open and close cursors. Resolves the annoyance that you forgot to turn
Usage of the Oracledump Function
I. Standard Function Format:
DUMP (expr [, return_fmt [, start_position] [, length])
There are four basic parameters. The minimum value is 0. If no parameter exists, null is directly returned. The other three
Comprehensive Static Analysis of database deployment
I spent most of my tech career in startups. I like fast-paced opportunities to learn new things and the sense of accomplishment of bringing a new product into the market. My career started with
Oracle statistics collectionCollect statistics
1: Create an analysis table
$ Cd $ ORACLE_HOME/rdbms/admin $ sqlplus/as sysdba> @ utlxplan. SQL
2: For convenience, you can create a synonymous table (by default, only sys users can use it)
SQL>
ORA-14402: updating partition keyword columns will cause partition changes, ora-14402 keywords
By default, oracle Partition Table for partition fields is not allowed to update the operation, if there is a forward update on the partition field, the
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