This script can be used to identify the character set of the Oracle server in PLSQL and display the local Oracle client characters in the CMD window.The following script can be directly copied to the PLSQL command window to run. If there is a better
Official Oracle textbooks (9i, 10g and app 11i) If relevant documents are uploaded in the future, they will be added to this post.
PS: all attachments can be downloaded and opened after testing. If they still do not work, they can be downloaded from
I often use dual and forget what it means. I will try again.
Dual? What's mysterious? When you want to get the Oracle system time, simply type a line of SQLIsn't it? To learn more ....SQL> select sysdate from dual;Sysdate---28-sep-03Haha, it is
I used to export data from Oracle to excel in batches. To put it simply, I used sqlplus to import the table data to a text file or a simplified Excel file, what I want to do here is the opposite. The tool uses sqlldr, and the usage of sqlldr is not
Oracle Database shutdown Methods
1. Shutdown normal
Close the database normally.
2. Shutdown immediate
Close the database immediately.
Run shutdown immediate in svrmgrl, and the database is not closed immediately,
However, it is disabled only
View the default tablespace of the current user
SQL> select username, default_tablespace from user_users;
View the role of the current userSQL> select * From user_role_privs;
View the system and table-level permissions of the current userSQL>
The following content is transferred from: http://www.cnblogs.com/royenhome/archive/2010/08/02/1790194.html
After the installation of active perl5.10 is downloaded from the official website, a simple Perl script is written. Only one file copy
The sys user logs in as a DBA under cmd:
Run sqlplus/nolog in cmd.
ThenConn/As sysdba
Note:
1. If it is enabled in tools such as PL/SQL, directly modify the followingCodeMedium[Italic bold Section]Run
2. Make sure the path exists,For
I. View2. SynonymsIii. Sequence
I. ViewA view is a stored SELECT statement that displays data. You can use a view to restrict access to rows, columns, or update table content.
1.1 base tableA table that makes up a view is called a base table. In
A Complete Oracle database consists of an Oracle database instance and a database.
1) A database is a collection of physical files (data files, control files, online logs, parameter files, etc );
2) an Oracle database instance is a group of
DBAs often unlock oracle users in their daily work.ArticleThe command line is used to unlock oracle users. Several Simple unlock statements can be used to unlock oracle users. The specific process is as follows:
Scott users are locked by default,
Oracle date and time processing function Summary In to_date format
Day:
Dd number 12
Dy abbreviated Fri
Day spelled out Friday
Ddspth spelled out, ordinal twelfth
Month:
MM number 03
Mon abbreviated MAR
Month spelled out March
Year:
YY two digits 98
1. Writing Purpose
2. Create a package in Oracle ERP Database Using toad or other PL/SQL tools. The source code is as follows:
(1) create a package Header
(2) create a package body.
3. Steps for obtaining the apps Password
4. Use any
Some data is used for testing, but I think the function is basically implemented. The method for inserting clob or blob is also attached. I also made some modifications on it.
Which can insert both clob and blob
Code highlighting produced by
Create a file named r5bak. BAT and use NotePad to edit the following content:
@ Echo offECHO is backing up the Oracle database. Please wait ......Exp userid = R5/R5 @ orcl file = E:/newbak/DB/R5 _ % Date :~ 0, 4% % Date :~ 5, 2% % Date :~ 8, 2%.
[Case] database faults caused by Oracle Control File Corruption
Problem:1. All clients cannot log on this morning, and the system prompts that the application server configuration is incorrect. Analysis and connection processing:1. Check
To insert a date/time value into the Oracle table, you'll need to use the to_date function. The to_date function allows you to define the format of the date/time value.
For example, we cocould Insert the '3-may-03 21:02:44 'value as follows:
Data library usage rules
Terms:
Site)
Websites already established or to be established by the company, such as the Chinese site (China), the international site (Alibaba), and the Chinese site (China.
OLPS
Online Process system, an online processing
The first time I used hibernate for persistence layer today, I had to admit that it was really easy to use and ignored a lot of things I had to worry about.
For example, if the connection is enabled and the SQL statement is disabledCodeVarious
Connect to the database through a client and perform relevant operations
I. Access Method: SQL Plus; PL SQL Developer
Connect to the database using the system account. The link identifier is orcl.
1. Access the database through SQL PlusTwo Methods:
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