Cause:
The SQL statement is as follows:
Select count (*) from test;
Result 1390.
Select count (*) from test where BB not like '% disable %'
Result 393.
In the actual browsing process, it is found that the result set is not disabled and there
The Oracle query you mentioned is still very common. It is often used during project development. It is impossible to load large volumes of data to the memory at a time. This will use paging, paging uses the range I used. net Microsoft followers (oh,
1.Function
1) Create a function
Create or replace function get_tax (X number) return number as begin declare y number; begin Y: = x-2000; if x
2) Execution function
SQL> select get_tax (1000) from dual;
Result:
Get_tax (1000) ---
1. blob
Create Table Scott. myblob (ID varchar2 (50), data BLOB );Create or replace directory lobfiledir as 'f:/lobdir ';
[A] PL/SQL insert blob
DeclareA_blob blob;A_bfile bfile: = bfilename('lobfiledir', 'winter.jpg '); -- used to point to an
OS: redhat6 oracle11.2
Description:
ORA-00845: memory_target not supported on this system
[Oracle @ Oracle DBS] $ sqlplus "/As sysdba"SQL> startupORA-00845: memory_target not supported on this system
Solution:[Oracle @ Oracle DBS] $
Garbled during Oracle 9i installation in redhat9Information: The Oracle Installation Interface contains no text and only garbled characters. What should I do?
Solve Chinese problems VI. bash_profileExport lc_all = zh_cnExport lang = zh_cnExport java_
The most common varcher2 type in Oracle can store a maximum of 4000 bytes of content. Generally, this type can meet your needs. However, in some special cases (for example, if the image or content to be stored exceeds 4000 bytes), varcher2 cannot
Data Table Name: tm_language
Primary key field name: tm_language_id
Data Table sequence: seq_tm_language
Detailed SQL code:
-- Add a primary key (if there is no primary key field, add a primary key field, assign a value, and then add a primary
Source: http://www.cnblogs.com/shengel/archive/2008/10/20/1315424.html
Reason for posting: in practice, the method of assigning values to output parameters in stored procedures is displayed. It is different from the SQL stored procedure assignment
Oracle 11G function set
Chapter 10All lower caseSelect lower (200 + 200), lower ('SQL'), lower (sysdate) from dualSelect first_name, last_name, lower (last_name) from employees where lower (last_name) like '% ur % ';-- UpperAll uppercaseSelect *
Three phenomena:
Bloat reading: A transaction reads data written but not submitted by other transactions.
Repeatable reading: a transaction has been read again and found that the data has been modified or deleted by another submitted transaction.
The temp table has 94 data records in the above structure.
Pagedemo. Java:
Public class pagedemo {public static void main (string [] ARGs) {consumer SC = new consumer (system. in); While (true) {int page = SC. nextint (); getresult (PAGE) ;}}
You can use the following SQL statement in PL/SQL to query which tables in the current database are locked and which users are locking these tables:
SelectA. Owner, -- user to which the object belongsA. object_name, -- Object Name (table name)B.
Ref_cursor for Oracle Development
PL/SQL language development Reference ManualPrefaceWe are no longer familiar with ref_cursor. We have been familiar with ref_cursor in our previous blog: in the blog "How to make Oracle Stored Procedure return
Steps for Oracle to back up and restore table space data
In the previous blog, you used logical backup exp/imp for full-database backup, single-table or multi-table data backup. This article summarizes how to use exp/IMP to back up tablespaces. The
Alter diskgroup diskgroupname rebalance power 1
Alter diskgroup diskgroupname rebalance power 2
...
...
Alter diskgroup diskgroupname rebalance power 11
Use this clause to manually rebalance the disk group. AutomaticStorage Management
SQL> Conn/As sysdbaConnected to an idle instance.SQL> startupOracle instance started.
Total system global area 276824064 bytesFixed size 778736 bytesVariable Size 137371152 bytesDatabase buffers 138412032 bytesRedo buffers 262144 bytesORA-01102:
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