Tags: pos CEP input Support user create encryption algorithm use lengthToday we got a tricky job, providing data redaction to the three parties, operations that need to be done in Oracle, and here's a brief introduction to the functions written in Oracle using Java.
Compiled Java code, because the business party specifies the Java encryption algorithm, so o
The most important thing about Oracle tree queries is the Select...start with ... connect by...prior syntax. Depending on the syntax, we can list a table-shaped structure in the order of the tree. Below is a list of common query methods for tree queries in Oracle, as well as the frequently used Oracle attribute functions
PL/SQL single-line functions and group functionsA function is a program that has 0 or more parameters and has a return value. Oracle built a series of functions in SQL that can be called SQL or PLFunctions are divided into two main categories:Single-line functionGroup functionsThis article discusses how to take advantage of single-line
database returns the VARCHAR2 data type to the EXPR2 character set. (2) If NBSP;EXPR2 is numeric, the Oracle database determines which parameter has the highest numeric precedence and implicitly converts the data type of another parameter to this data type. and returns data of this data type. instance: Returns employee income to see if the employee's income (income) consists of a salary (salary) plus bonus (Commission), depending on whether
Classification of parameter files:Spfile:server parameter fileBinary format, out of file system bondageCan only be placed on server sideBetter consistencyOnly use SQL commands to modifySPFile priority is higher than pfileNaming rules: SpfilePfile:parameter fileText fileCan be placed on the server side can also be side on the client sidePfile flexible but too many replicasCan be modified directly using a text editorNaming rules: InitWhere to save the parameter file: $
Use of the To_date () function in a 1.Oracle database: Insert a record into the EMP table:Sql>InsertInto EMPValues1234,‘Lizelu‘,‘BOSS‘,1234,‘1980-12-06‘,10000.0,0,30);InsertInto EMPValues1234,‘Lizelu‘,‘boss " ' 1980-12-06 ", Span style= "color: #800000; Font-weight:bold; " >10000.0,0, 30) Ora- -- date format is not Use the To_date () function: Format to_date ( 1965-02-05 ", Character functions in 2.Oracl
function Introduction The Decode function is one of the most powerful functions of Oracle PL/SQL and is currently available only to Oracle Corporation, where SQL implementations of other database vendors do not yet have this function.What is the use of decode? Let us first construct an example, assuming that we want to raise wages for the smart-star staff, the s
In Oracle, the Decode () function is a powerful function in oracle pl/SQL. Currently, only oracle SQL provides this function, this function is not available for SQL implementations of other database vendors. The DECODE function is one of the powerful functions of oracle pl/S
One, character functionsThe character function is the most commonly used function in Oracle, so let's see what the character functions are:Lower (char): Converts a string to a lowercase format.Select lower (' AAAA ') from dualInStr (C1,C2,I,J)--Determines whether a character or string exists, returns the index of where it appears, otherwise returns less than 1, searches for the specified character in a stri
Custom Aggregate functionsIntroduction to custom aggregate function InterfacesOracle provides many predefined Aggregate functions, such as Max (), Sum (), AVG (), however, these predefined Aggregate functions are basically applicable to scalar data. For complex data types, such as custom Object type and Clob, is not supported.
Fortunately, you can create a user-defined aggregate function by implementing the
One, group function nestingAs defined in Oracle, group functions can be nested only two layers. In fact, multi-layer nesting has no practical purpose, so Oracle does not provide multi-layered nesting of group functions. However, a single-line function can be nested multiple layers.Two1.
and functions, there are PL/SQL blocks for declaring, executing, and exception handling, and the stored procedure is called by the program, and the trigger is triggered by the event, the trigger cannot accept the parameter, and the Oracle event refers to the additions and deletions to the table or view.You can trigger on each line or statement operation before adding or deleting the operation or after the
In oracle, the question of processing comma-separated fields using regular expression functions is really not easy to write. Its actual meaning is based on a scenario: www.2cto.com, for example, in an oracle table, there are two fields A1 B1 1 A, B, C, D, 2 E, F. If the current requirement is to count the number of B1, for example, when A1 = 1, there are four fie
Label:Some of the company's Oracle projects have recently been transferred to Ms_sql and have encountered translation problems in translating Oracle functions into Ms-sql procedure. Luo lists these questions: First, Oracle basic type
Oracle
comparison operators, such as contains, covers, and anyinteract ). In this way, you can reply to a request similar to the following: "list all the campuses that this line passes" or "find all the flower shops in this city"
4) function-based index support
Now, you do not need to explicitly store the location information as a column of the SDO_GEOMETRY type to perform a space query on the Link property. You can create spatial indexes on spatial data stored in relational columns such as longitude
value equal to 1
How are the functions in SQL Server rewritten in Oracle?
Problem points: 20, reply times: 2
Top
1 Floor Hevin (Nothing is impossible) reply to 2005-09-25 18:12:10 score 0 The first sentence:
Months_between (To_date (To_char (sysdate, ' yyyy-mm-dd '), ' yyyy-mm-dd '),
To_date (To_char) (Waterpay. Copydate, ' yyyy-mm-dd '), ' yyyy-mm-dd '
) = 1
Top
2 Floor Hevin (Nothing is impossible) r
First, the functionFunctions are stored as database objects in an Oracle database, and functions are called PL/SQL subroutines. Oracle processing uses system-provided functions, and users can define their own functions. A function is usually called as an expression to call o
Common simple functions in oracle (ONE)In oracle, functions are divided into multiline functions and single-line functions. Single-line functions can be directly referenced in plsql blo
Oracle Text Functions
Oracle Text Functions allow us to use common functions. The following describes the usage of several Oracle Text Functions for your reference and learning. We hope
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.