Discover substring postgresql example, include the articles, news, trends, analysis and practical advice about substring postgresql example on alibabacloud.com
Recently prepared for PostgreSQL database development related knowledge, this article summarizes the PPT content through the blog record sharing, this essay's main content is to introduce the PostgreSQL database basic information, and how to use the
PostgreSQL tutorial (5): Functions and operators (1), postgresql Operators
I. logical operators:
Common logical operators include AND, OR, and not. Its semantics is exactly the same as that of logical operators in other programming languages.
Ii.
PostgreSQL tutorial (6): Functions and operators (2), postgresql Operators
6. Pattern Matching:
PostgreSQL provides three methods for implementing pattern matching: SQL LIKE operator, closer SIMILAR TO operator, and POSIX-style regular expression.1.
One, the logical operator:
The common logical operators are: and, or and not. The semantics are exactly the same as the logical operators in other programming languages.
Second, the comparison operator:
The following is a list of comparison
Vi. Pattern Matching:
PostgreSQL provides three ways to implement pattern matching: SQL Like operator, more recent similar to operator, and posix-style regular expression.1. Like:
Copy Code code as follows:
string like pattern
Function
return type
Describe
Example
Results
string | | String
Text
String connection
' Post ' | | ' Gresql '
PostgreSQL
Bit_length (String)
Int
The number of bits in a
All messages sent by the PostgreSQL server are given a five-character error code that follows the custom of the SQL "SQLSTATE" code. Apps that need to know what error conditions are occurring should usually test the error code instead of the text
Reference http://www.php100.com/manual/PostgreSQL8/functions-matching.html likestring pattern [escape-character ]stringpattern [escape-character ] Each pattern defines a collection of strings. If the string is contained in a string collection
Description ORA2PG: Oracle PostgreSQL Database Mode Converter is a free tool for Oracle Database migration to PostgreSQL compatibility mode. It connects to the Oracle database, scans it to automatically extract its structure or data, and generates
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.