When oracle was first used, toad and PLSQL developer were installed on 64-bit win7. After the installation, the server could not be connected (the connection string is correct ).
After searching the Internet for a while, many people found that
After re-modifying and compiling another process B called by stored procedure A in the Oracle database, you must manually re-compile a. Do not re-compile a before calling, otherwise, a compilation fails. Especially when the traffic is high.
In this
I used SQL Server all the time. Oracle was used in a recent project and encountered many problems.
The Longin control database creation cost a lot, and no relevant information can be found on the Internet. Explore for yourself
Record the
After finishing the project yesterday, I asked the test to test it. The test said that paging query does not seem to work. After Turning to page 4th, the data results will be the same.
At that time, I was puzzled. It was impossible. The paging
Today, I did a database experiment about creating new users and granting them permissions. Below are some of my summary:
In the lab, since oracle is installed on each machine, we all enter the system as a DBA. First, we must know some basic
1. Modify the Oracle system configuration file and change n to Y:
Sudo VI/etc/oratab
Orcl:/Oracle/ORACLE_HOME: YBlogs:/Oracle/ORACLE_HOME: Y
Note:
/Etc/oratab format: Sid: ORACLE_HOME: AutoSet n to Y (uppercase). Only in this way can
Recently, writing Oracle stored procedures is different from SQL. in SQL, select statements can return result sets. in Oracle statements, pointers (cursors) are used to write SQL statements, a little uncomfortable. yesterday, I wrote a test stored
Oracle Database Backup Technology
---- 1 Introduction
---- Oracle database is a large relational database that can store up to TB of data. Therefore, it is especially important to ensure the security of such data. We have been using the Oracle
Since oracle is always compared with Microsoft's SQL Server, and sometimes confused, I am determined to summarize the stored procedures of the two mainstream databases. Speaking of stored procedures, what are the advantages of stored
There is an important thing in Oracle: package. (In this articleCodeAll are implemented in the EMP table in Scott)
Reference others' definitions-a package is a database object that logically related to the PL/SQL type, object, and
In Oracle databases, there is a concept: tablespace. Table spaces are logical components of databases. Physically, database data is stored in data files. Logically, databases are stored inIn a tablespace, a tablespace is composed of one or more data
When the data in the table is not required, delete the data and release the occupied space. To delete the data in the table, use the delete statement or the truncate statement.
I. Delete statements
(1) conditional Deletion
Syntax format:Delete
As we all know, generally, the operating system provides a method to regularly execute tasks. For example, the UNIX platform provides the crontab command for the system to periodically execute tasks. However, for some requirements, such as database
ArticleDirectory
2. Usage of case when in different positions in the statement
1. The case when expression has two forms:
-- Simple case Functions Case Sex When ' 1 ' Then ' Male ' When ' 2 ' Then '
Http://orafaq.com/wiki/ SQL _Trace
Tracing an entire database
To enable SQL tracing for the entire database, execute:
Alter system set SQL _trace = true scope = memory;
To stop, execute:
Alter system set SQL _trace = false scope = memory;
Cocould not execute query against ole db Provider 'oraoledb. Oracle'
This error occurs when I use openquery to query the linked server on SQL Server. The linked server connects to Oracle DB.However, the table and view information can be seen on
Modify the database character set to zhs16gbk.View server character setsSQL> select * from V $ nls_parametersModify:$ Sqlplus/nologSQL> Conn/As sysdba restart ;If the database server has been started, run shutdown immediateTo shut down the database
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