In the Oracle database, when the data queried is large, it needs to be formatted. Otherwise, "####" is displayed when the result is converted to a string.
Select
Rtrim(To_char (
5279.59
*
100
*
30,
'
Fm9999999990.9999
'),
'
.
')
Make a table insert trigger to modify only the fields of the inserted rows.
Create or replace trigger tr_rme_slotBefore insert on rme_slotFor each rowBeginIf (: New. Position> = 0 and: New. Position : New. slot_name: = '0' | to_char (: New.
In table update operations, in many cases, data other than the table to be updated must be referenced in the expression. Like SQL Server provides the update from clause, it can connect the table to be updated with other data sources. Although only
Problem:"Ora-01045: user system lacks create session privilege; logon denied" appears when you log on with PL/SQL ".
Cause: no permissionIn Google, find the following description:What does "ORA-01045: User Username lacks create session
========================================================== ======================================@ Echo offSet y = % Date :~ 0, 4%Set M = % Date :~ 5, 2%Set d = % Date :~ 8, 2%Set H = % time :~ 0, 2%Set n = % time :~ 3,2%Set S = % time :~ 6, 2%Set
Authorized users can access database objects and their contents. Prompt that after a user has the permission to Process Tables of other users, the user must have public or private synonyms of these tables before he can reference tables of other
You can see this article on scid.ArticleFor ORACLE data import, the method is simple and effective, and it is useful for data preparation for performance testing, so let's take a look.
Before you perform a performance test, make sure that there is
I. Cluster Environment:
1. hardware environment:
Server.IBM 365 ServerSingle-channel Xeon SMP CPU6 GB memoryThree 36.4g hard drives (RAID5)Local Gigabit NIC (private_lan)Add an IBM Gigabit Optical Fiber NIC (public_lan)Server B.IBM 365
Oracle Study Notes --- (1)
I
1. Oracle IntroductionOracle is a large-scale relational database based on advanced Structured Query Language (SQL). It is an object relational database management system (ordbms ). It provides the functions of the
Oracle service in Windows
: Sid-Database IDHome_name-Oracle Home Name, such as orahome92 and orahome81(1) oracleservicesidDatabase Service, which automatically starts and stops the database. If a database is installed, its default start type is
Oracle Study Notes --- (2)
II
Implement Chinese-English character set conversion under sqlplus
Alter session setNls_language = 'American ';Alter session set nls_language = 'simplifiedChinese ';
Key knowledge points:I. Operations on tables
1)
There are n more such online
ArticleBut when I was installing, I didn't have an article on the Internet that suits me. Finally, after I browsed almost all the similar documents, I summarized the following installation methods, I hope you can
10.0.0.11 is the IP address of my master server, 10.0.0.111 is the IP address of my slave server, and testdbase is the SID number of the database,
The operating system version is RedHat Linux 8.0. The database version is Oracle 9.2.0.1.
1.
--
Create a package
Create
Or
Replace
Package Types
As
Type cursortype
Is
Ref
Cursor
;
End
Types;
-- Create a stored procedure and return parameters of the cursor type Create Or Replace
Core tips: PLSQL and Oracle are both green versions, which are ready for decompression and pass the win7 64-bit test.Plsql9 Chinese Green Edition:Http://ishare.iask.sina.com.cn/f/23000969.htmlOracle11g client Green Edition
PLSQL and Oracle are
Compare Oracle and MSSQL. The main differences and advantages of server. What are the differences in specific use?
Openness:
SQL Server can only run on windows without any openness. The stability of the operating system is very important
// Create global temporary table temp_20061030 (ID int, name varchar2 (256) on commit Delete rows;
Export ledboperation DBO = NULL; // export ledboperation is a custom class encapsulated for Oracle operations. You can use the operation classes and
Background: Recently, the database server of the company was managed in a unified manner, collect databases distributed across servers to one machine (252) . ip 98 . One of the databases is relatively small, with exp export with imP
Oracle Study Notes --- (3)
3.
1. Lock
To prevent users from concurrently accessing and modifying resources at the same time, ORACLE uses different types of locks to control concurrent access to data to prevent destructive interaction between
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