I. Test
Declare l_card_id number;V_result varchar2 (1000 );BeginSelect T. card_id into l_card_id from (Select T. rowid from sup_card tWhere T. card_id = 41Order by T. card_no DESC, T. up_load_date ASC) RInner join sup_card t on R. rowid = T.
I went home to access the Internet today. I was surprised that sun was acquired by Oracle!
It will be mixed with Oracle later! This should be the best outcome for sun and Java. An era is over! It feels heavy. In any case, the Sun and Bea created
The following database definitions are available:
Database NameTd_order_liu
Column name:Order Number, product name, display number
The displayed number is not consecutive.1, 2, 3... NThat is to say, it does not directly represent the position
1. Paging Query
Select * from (select rownum No, E. * from(Select * from EMP order by Sal DESC) e where rownum = 3
Select *From(Select rownum No, E. * from (select * from EMP order by Sal DESC) e)WhereNo> = 3 and no
2. Stored Procedure
A.
Document directory
2. Usage of case when in different positions in the statement
1. The case when expression has two forms:
-- Simple case FunctionCase sexWhen '1' then 'male'When '2' then 'female'Else 'others' end-- Case search
No, code generators are increasingly helpful to programmers. There are some excellent code tools on the Internet, such as codesmith and mygeneration. However, I have never found a tool or template that directly converts the Oracle Stored Procedure
I have never played Oracle before. No experience. Provide more advice on errors.
The following uses Oracle10g express edition (Oracle Database Xe) as an experimental environment.
Oracle Database Xe is a free and lightweight database system launched
The Oracle database provides several different methods for starting and disabling databases. This article describes the differences between these methods and their respective functions.
1. Start and close the Oracle database
For most Oracle
----- Questions about field joining After grouping
From: www.itpub.net
Recently, on the Forum, we often see questions about field concatenation After grouping,It is probably similar to the following situations:SQL> select No, Q from test2/
No Q----
1. Select the most efficient table name sequence (only valid in the rule-based Optimizer ).
2. Connection sequence in the WHERE clause... 3
3. Avoid using '*' in the select clause '*'...
4. Reduce the number of database accesses...
5. Use the decode
If you have installed Linux according to the preceding instructions and all kernel parameters use the default values, you only need to log on as the root user and run the following command.
Cat>/etc/sysctl. conf
Kernel. Shmall = 2097152
Kernel.
Database Replication in Oracle
There is often a need to operate databases on the Internet to unify similar database applications across cities across the country. The data changes on one node are not only reflected locally, but also to the remote
Setting Oracle to archive mode and non-archive Mode
Create an archive directory manually and adjust the Oracle startup mode.Set Oracle to archive ModeManually create an archive directory on the master
1. Physical read)
When a data block is read for the first time, it will be cached in the buffer cache, and the second time it reads and modifies the data block, it will be cached in the memory buffer. The following is an example:
1.1 first read:
C:
1. Set linesize 100; set the length
2. Set pagesize 30; set the number of entries displayed on each page
3. Run em a. SQL to open notepad.
4. @ A: run the code in file a. You can specify the file path @ D: a.txt.
5. the conn user name/password is
Create or replace procedure p_web_memberinfor(P_memberid in varchar2,Member_resultset in out pkg_return_resultset.resultset, -- return result setMoney_resultset in out pkg_return_resultset.resultset, -- return result setPoint_resultset in out
Char
Fixed Length, non-UNICODE character data, length is n Bytes. The value range of N is 1 to 8,000, and the storage size is n Bytes. Char SQL 2003 is synonymous with character.
Varchar2Variable Length, non-UNICODE character data. The value range
Info:/home/musictom/Oracle/product/11.2.0/dbhome_2/bin/genclntsh
Info :/Info: USRInfo :/Info: BinInfo :/Info: LDInfo ::Info:Info: cannotInfo:Info: Find/usr/lib64/libpthread_nonshared.aCollect2: LD returned 1 exit statusGenclntsh: failed to link
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.