Today, I installed the Oracle server side on my personal machine. Strangely enough, local access is normal, and other machines within the LAN are inaccessible. After a search on the internet for a night, finally solved. The solution is now shared
1, intersect operationReturn the same part of the query result both their intersectionSql> SELECT * FROM ABC2 intersect3 SELECT * from ABC2;2, minus operationReturns the portion of a row that is not the same as the second query result in the first
After you create a synonym, you can access it with SQL, you can also modify the data, but when using this synonym in the stored procedure, the report "table or view does not exist" error, the Internet check, the original to "access to public
I use the MyEclipse 6.0 version, Oracle is the 10g version, the following problems occurred during the connection
Java.sql.sqlexception:ora-00604:error occurred at recursive SQL Level 1Ora-12705:cannot Access NLS data files or invalid environment
Recently, an Oracle-related optimization has been done to a project, from the original 1-minute query time, optimized to only 1 seconds (joint query on 1 million records).
In general, the so-called query optimization, mainly to create indexes,
C:/>sqlplus
Sql*plus:release 9.2.0.1.0-production on Saturday September 29 15:08:34 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Please enter user name: SYS as SYSDBAPlease enter password:
Connect to:Oracle9i Enterprise
To_char, To_date, To_number
To_char converts a date or number to a stringTo_date is converting a string to a date type conversion function in a databaseTo_number converts a character to a number
To_char ²Working with numbers using the To_char
Search the network, about the Oracle garbled discussion a lot, but did not find a prescription for the disease.
To explain the situation first, the reader can reproduce the problem according to the instructions:
In Oracle9i, there is a table test1
Determine if the table exists, if it does not exist, and then create:
declare tableexist number;BeginSelect COUNT (1) into the tableexist from User_tables where Table_name=upper (' onecallprtcp ');If tableexist = 0 ThenExecute immediate' CREATE
Bitmap indexes apply to low cardinality (low-cardinality) columns, and the so-called low cardinality column means that the column has very few desirable values.
Problem with bitmap indexing:With a bitmap index, one key points to multiple rows,
1, to determine whether the table exists
select count (*) as v_cnt from user_tables where table_name= ' table '
2, get all the fields
in the datasheet Select
table_name,column_name from all_tab_columns where table_name = ' table '
3, creating
You can have more than one application data table in a database, tables of these different applications can be placed in different schemas, and each schema corresponds to a user, and different applications can connect to the database with different
It is particularly important for Oracle-behind developers to understand Oracle multiple versioning and consistent reading, because it greatly improves the parallel operation of the database. If you are not aware of concurrency, you typically
With Oracle for several years, we've all heard about some of the day-to-day development and optimization techniques, and simply list
1: Query performance for Tanku
To see the amount of data, query conditions, whether hit the primary key, index, if
B-tree Index
A B-Tree index has only one root node, which is actually the topmost branch node in the tree.
You can use the following figure to describe the structure of the B-tree index. where b represents the branch node, and L represents the leaf
A database server can have several databases that are marked with SIDS, such as Orcl1,orcl2,orcl3 and so on, a database such as ORCL1 can have multiple instances. Oracle database, it should be said that we are using Oracle Service server. Oracle
1. Basic grammar
This is a must, what select,insert,update,where and so on. Mastering this knowledge can basically do some work with validation and testing. Target positioning Yu YUNWI or testing.
2. Preparation of stored procedures
To know how
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