In the process of running Oracle, for various reasons, some objects, such as stored procedures and functions, are as follows:
SQL> select distinct object_type from all_objects;
Object_type------------------ClusterConsumer groupContextEvaluation
To_char is a function that converts a numeric or date type to a numeric type.
For example, the simplest application:
/* 1.0123 ---> '1. 0123 '*/
Select
To_char (1.0123)
From
Dual
/* 123 ---> '123 '*/
Select
To_char (123)
From
Oracle , SQL Server null value (
Null )
Judgment
SQL Server ReplaceNull:Isnull (ARG, value) For example, select isnull (price, 0.0) from orders. If the price isNullReplace the value with 0.0. AndNullComparison:Is notNull, IsNull
This article briefly introduces how to register a database instance on one machine to another machine, for example, registering a database instance on machine A to machine B.
1. Check the status of listener of machine B before machine A registers
During development, we often encounter the cursor Writing of dynamic table names, which happens in the work, as shown below:
DeclareStralltable varchar2 (100 );Type cur_typ is ref cursor;C cur_typ;
C_id number (18 );C_code varchar2 (100 );BeginFor
Why check points must occur when the database switches logs? What is the significance of this checkpoint?
Which of the following table space management methods are available.
Differences between local indexes and global indexes and their
During work, I found that a data computing result was abnormal. I checked the original data and did not find any problems. I then compared it with the system computing result. I was shocked: It was a lot bigger, so, check the program and find the
How to Implement comma-separated column-to-row Conversion
1. The conversion method is as follows:
Create or replace view v_con_project as select CP. "con_num", CP. "project_code", CP. "req_money", CP. "is_has_build_dept", CP.
Share a little bit of experience:
Seq_bos_t_priv_function is a sequence, and colnum1 is the primary key.Insert into Table1 (colnum1, colnum2) values ('select seq_bos_t_priv_function.nextval from dual', '1 ');Insert into Table1 (colnum1, colnum2)
Decode(Condition, value 1, translation value 1, value 2, translation value 2,... value n, translation value n, default value)
The function has the following meanings:
If condition = value 1 thenReturn (translation value 1)Elsif condition = value
The basic environment after Oracle Installation involves the installed program group, the physical files contained in the DBMS, the services related to the database server, the default account/password for Oracle, and. Understanding and
Original article: http://specialwolf.blog.163.com/blog/static/124466832201131844717382/
In this case, Scott uses the following data records to export the data to the test user:
C: \ Documents ents and Settings \ dean_deng> exp system/manager @ orcl
Query SQL:
Select R. request_id,
TL. user_concurrent_program_name
| Decode (R. Description, null, '', '-' | r. Description) request_name,
RTL. responsibility_name, R. resubmit_interval,
Resubmit_interval_unit_code as time_unit,
R. argument_text as
Let's talk about internal concurrent manager today.
As mentioned earlier, internal concurrent manager is a concurrent manager for managing concurrent managers.
Because of this, even if internal concurrent manager is plug-in, other concurrent
Oracle EBS front-end error, reported Ora-00942: Table or view does not exist error, but do not know which table or view is in the end, and can not immediately see the code, trace is useless. Later, I suddenly thought that I could use events to
Clob output to file1. Loop reading, but cannot exceed 32 K (this is the limit of utl_file.put, rather than dbms_lob.read ).-- Amount binary_integer: = 1;-- Data_buffer varchar2 (1 );Length_count: = dbms_lob.getlength (temp_blob );While length_count>
Http://www.adp-gmbh.ch/ora/misc/null.html
NULL in Oracle
A column in a table can be defined with the not null constraint. see also nulls and Boolean operatorsnvl, nvl2 and lnnvl are SQL constructs that are related to
From: http://cnhtm.itpub.net/post/39970/496967
In Oracle 9i/10g, if the database instance does not have the Scott mode, you can manually create it as follows:
Log on to the database
Ora_test @ Oracle [/home/Oracle]> sqlplus/As sysdbaSQL *
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