㈠ Definition
builtA reverse index sets the key value (each column key value) to the byte, and for the key combination, the order of the columns is preserved, but the bytes of each column are reversed
For example:
The contents of a column in a
CSDN Tags: oracle,. NET, ado.net, FUNCTION, stored procedure
Use cursors, return list, define class by package
in SQL Server
Do a store that gets the return list directly
CREATE PROCEDURE [dbo]. [Test_get]
As
Testing stored Procedures
Get a
1 Terminology Interpretation and agreement
Tablespace (tablespace): Provides a logical structure for the use of space for a database, and its corresponding physical structure is a data file, and a table space can contain multiple data files.
Local
Oracle Log View
A Path to Oracle log:
Login: Sqlplus "/as sysdba"
View Path:sql> select * from V$logfile;
Sql> select * from V$logfile; (#日志文件路径)
Two What the Oracle log file contains: (The number of logs may be slightly
Weather hot, weekend at home knocking code found a strange SQL, when using the LEFT JOIN table to join the left-hand query, a-B, before a-table row a good order, suddenly confused, the first line of records ran to the last, the descending order into
Oracle Date Conversion
Conversion functions
The biggest relationship with date operations is two conversion functions: To_date (), To_char ()
The to_date () action converts a character type to a date type in a certain format:
Specific usage: to_date
Case when it is convenient to use when different conditions require different return values, you can use them when assigning values to variables, or you can use them in a SELECT query statement.Case Search Statement format:
CaseWhen condition 1 then
Summary of Oracle database character set issues
Data migration in different databases, exchange of data with other systems, and so on, often because of different character sets cause migration
Knowledge Points:
1.Oracle database is a relational database management system developed by Oracle (Oracle/shen Domain), which is one of the most widely used databases in the world at present.
The main version is oracle9i,oracle10g,oracle11g,oracle12
first, the introduction
Data Warehouse technology is a more mature and widely adopted solution, it is used for all the dispersed raw business data in the whole telecom operation Enterprise, and it can support different departments, different needs
Excerpt: https://www.linuxidc.com/Linux/2012-06/62894.htmWhen the case condition then condition is true the value of the else condition is false when the value end--Single query unify the number of times a field equals a valueSelect COUNT
To view the usage of a tablespace:SelectA.tablespace_name,a.bytes/1024x768/1024x768"SumMB ", (a.bytes-B.bytes)/1024x768/1024x768"Used MB", b.bytes/1024x768/1024x768"Free MB",round(((A.bytes-B.bytes)/A.bytes)* -,2) "percent_used" from
Get table field:SELECT *From User_tab_columnswhere table_name= ' user table 'ORDER BY column_nameGet Table Comments:SELECT *From User_tab_commentswhere table_name= ' user table 'ORDER BY table_nameGet field Comments:SELECT *From
The requirement is that the values stored in a field in a table are separated by commas, requiring that the data be traced against each of the separated values, but not using a like query.The data is this:The SQL for the query is as follows:SELECT *
Ways to start Scott users in Oracle 11GR2The method for starting Scott users in Oracle, in Oracle11gr2, (g for ' network ') database in which Scott was locked in the user's installation ,When you install Oracle, you can choose to unlock the user
The error message is as follows:Ora-39002:invalid operationOra-39070:unable to open the log file.Ora-29283:invalid file operationOra-06512:at "SYS. Utl_file ", line 536Ora-29283:invalid file operationAfter the investigation, did not find that
1. Add the parameters of the target form to the call before the form jump, and assign values to the when-New-form-instance.
2. Trigger problem collection
A> sometimes, key-series triggers are famous for controls such as data blocks, forms, and items,
Oracle version:10.2.0.1.0
SQL * Plus-version:10.2.0.1.0
This may cause no response to all locally initiated connections to the Oracle Database Server.
Symptom:
After the SQL plus command is switched to Oracle, the SQL plus command is not reflected
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