I have been reading a question and a statistical statement over the past few days.ProgramSuddenly, the data volume is abnormal. I checked the data from the beginning and found that there was no problem with the program and configuration, but the
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
The lag and lead functions can be used to retrieve the data of the first n rows and the values of the last n rows of the same field in a query.
The lag and lead functions
SQL statement for querying the number of active database cursors
Select All allcursor cursor, myallcursor my cursor count, myopencursor my open cursor count, mycachecursor my session cache cursor count (myallcursor-myopencursor-mycachecursor) my
D: \ oracle \ product \ 10.2.0 \ db_1 \ Network \ admin \ tnsnames. ora
Steps:1. Create a database2. Create a tablespace3. Users who belong to the database4. Specify the tablespace for the user
Table space creation statement:Create tablespace
SQL advanced queries have four types of connections: equijoin, non-equijoin, outer join, and self-join. Experiment with Scott's tablespace. What? I don't know where Scott is? Search for the Oracle installation directory! I have searched it out.
Article category:Java programming
I searched for ibatis's use of like on the Internet. I believe the xdjm in this article should also know how to solve it. I will not repeat it here. I just want to explain it again:
Leave '% $ xxx $ %' blank. The
-- View which table is lockedSelect B. Owner, B. object_name, A. session_id, A. locked_modeFrom v $ locked_object A, dba_objects BWhere B. object_id = A. object_id-- View which session is causedSelect B. username, B. Sid, B. Serial #, logon_timeFrom
Problem description:
Oracle source table can store"Chinese test"Four Chinese characters, but after being extracted and written to the target table of the same structure by powercenter, the Chinese characters are truncated to two Chinese
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
I want to train the basic engineer. I don't want to write a simple query statement when I don't want to work.
Create Table Test (name varchar2 (16), age Number (3), birth date)Select * from testSelect * from EMPSelect ename, Sal, Sal * 12 + 100 from
(Summary of the use of oracle9/10g, some SQL statements are practical)
------------- Step 1: Oracle Startup Process -----------In the window:
Start a database instanceOradim-startup-Sid orcl (database instance name );Shut down database
Ekw719
Websites already established or to be established by the company, such as the Chinese site (China), the international site (Alibaba), and the Chinese site (China.
OLPS
Online ProcessSystem: the online processing system, that is, the database
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
It should be noted that both PhP4 and PhP5 have function numbers that can be connected to the Oracle data volume and query the result set. However, some function numbers can only be used in PhP5, so if the PHP environment is PhP4
First, you must
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
[Export with exp data ]:
1. Export the database test completely, and use the User Name System Password Manager to D:/daochu. dmp.Exp system/manager @ test file = D:/daochu. dmp full = y
2. Export the tables of system users and SYS users in the
Oracle10g em adopts the web method and is divided into two products: Database Control and grid control. This section describes how to create a single data dbcontrol. To install grid control, download a separate CD.
When using dbca to create a
The two different database servers read data from one user on the same database server. In this case, you can use dblink.
In fact, dblink is similar to the view in the database. When creating dblink, you need to know the IP address, SSID, and
Concurrent managers is the manager used by Oracle ERP to control user requests. It can be used for scheduled processing to generate reports and batch processing.
There are many types of concurrent manager, such:
Internal Manager
Standard
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