Notify@mail.cnblogs.com wrote:Sender: light rainEmail: zy@ez-galaxy.comTitle: consultMessage content: How to save long text in Oracle ?? A table cannot have two clob, long, or blob ?? For example, in a forum, If you want others to input more content,
Isnull () in sqlserver ()
Nvl () in Oracle ()
Nvl (expr1, expr2) If expr1 is null, the value of expr2 is returned; otherwise, the value of expr1 is returned.
Nvl2 (expr1, expr2, expr3) If expr1 is not null, the value of expr2 is returned;
I'm off duty, write two articlesArticleAll go home :)
Oracle was also used in the past. It was all done by others. I used it directly and only felt that the stored procedure. The SQL syntax is slightly more awkward than MSSQL. Other configurations
To access the database through JDBC, you can obtain the table, table column, view, index, and primary key database object through the getmetadata () method of the connection object, but it does not provide a foreign key object, the following
-- 1. Learning jobs in PLSQL
-- Learning job
-- Create a table
Create Table test_job (para_date date );
Commit;
Insert into test_job values (sysdate );
Commit;
Select * From test_job;
-- Establish the storage process
Create or replace procedure
This article from: http://blog.csdn.net/caihaijiang/article/details/6083566
1. Download the instant client from the Oracle Website:
Http://www.oracle.com/technology/global/cn/software/tech/oci/instantclient/index.html
Select different Instant
1. view the table space name and size.
Select T. tablespace_name, round (sum (Bytes/(1024*1024), 0) ts_size
From dba_tablespaces T, dba_data_files d
Where T. tablespace_name = D. tablespace_name
Group by T. tablespace_name;
2. view the name
Environment:
Oracle 9.2.0.8, AIX 5.3ml5 64bit;
Table A is a partitioned table that stores about records. The table's tablespace is not in assm mode;
Scenario Description:
Because the operations on the table are very frequent, the I/O waits
Document directory
Oracle SQL-sorting ting one row of several columns into one column of several rows
Display Oracle SQL output rows on one single line
Oracle SQL-sorting ting one row of several columns into one column of several rows
Oracle
Basic Environment:
Sqlplus '/As sysdba'
Alter system set aq_tm_processes = 2 Scope = both; // do not set it to 0 or 10. This may disable queue monitoring and affect the memory usage of the stream pool.
Alter system set global_names = true scope =
There are many application projects. At the beginning, MySQL Databases can basically meet various functional requirements. As the number of application users increases and the amount of data increases, MySQL gradually becomes overwhelmed: the
Predefined roles:
1. Connect role:
Typical and basic rights granted to end usersAlter session -- modify a sessionCreate Cluster -- create a clusterCreate database link -- create a database linkCreate sequence -- create a sequenceCreate session -
Description:
1. rownum is the number of the row returned from the query in the Oracle system. The first row is allocated 1 and the second row is 2,
This pseudo field can be used to limit the total number of rows returned by the query.
2. rownum
In our actual work, we often encounter background Oracle database environment migration and do not know if there is a problem:1. Do I know if anything is missing when the development environment is migrated to the actual environment?2. Do you know
Author: gnuhpcSource: http://www.cnblogs.com/gnuhpc/
TLS, 1 p. MRS. Transport htyQuogue, Long Island16 September 1962, SundayMy dear:Well, here we are-but not here. you at st. tim's, sister in Princeton, and me in Quogue, and another brand new year
In my opinion, whether B/S or C/S is developed in any business system, the core focus should be on processing logic and high performance and security, the underlying layer and system structure should be well considered by the architect to form a
This is a virtual table. You can use this table when operating most Oracle Objects, such as sequence and sysdate.For example, select sysdate from dualSelect seq1.nextval from dualAnd so on.
1. Dual is created by SQL. bsq. When each database is
ORACLE:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> DEPARTMENT_ID_SEQ
MySQL:
MSSQL:
Code highlighting produced by Actipro CodeHighlighter
In Oracle databases, undo has three major functions: providing consistent read, rollback transaction, and instance recovery).
Consistent read is relative to dirty read (dirtyRead. Assume that a table t contains 10000 records. It takes 15 minutes to
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