Function
Return Type
Description
Example
Result
array_append(anyarray,anyelement)
Anyarray
Append an element to the end of an array
Array_append (array[1,2], 3)
{A-i}
Symfoware Open System"DDL" (data definition Language)A data definition language that defines and manages the language of all objects in a SQL database. The main commands are create, alter, DROP, etc., the DDL is mainly used in the initialization of
PostgreSQL supports arrays, but does not have a function to sort internal data elements. Today I wrote one with PLPGSQL and PLPYTHONU respectively. Example Table Structure: t_girl # dtest_array; Tableytt. test_arrayColumn | Type | Modifiers --------
The time can be added and reduced directly in PostgreSQL: Query System Current Time: Select Now ();OrSelect Current_timestamp; SELECT now ():: Timestamp + ' 1 year '; --Current time plus 1 yearsSELECT now ():: Timestamp + ' 1 month '; --Current
PostgreSQL supports arrays, but does not have a function to sort the inner elements of the data. Today I wrote one with Plpgsql and Plpythonu, respectively.Sample Table structure:t_girl=# \d Test_array; Table
What is stored procedure, Baidu Encyclopedia is so defined: the stored procedure (Stored Procedure) is in a large database system, a set of SQL statements in order to complete a specific function, stored in the database after the first compilation
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
Today, I learned how to use PL/pgsql to write the PostgreSQL storage process. There is really little information on the Internet. The only thing I can find is to copy it. I 'd like to copy the PostgreSQL documentation, let's talk about the problem
MySQL stored procedures can easily return multiple result sets at a time, but POSTGRESQL currently does not provide such a function.
A literal translation method is to use a cursor, but you can also put the result set in an array or a large
PostgreSQL supports arrays, but does not have a function to sort internal data elements. Today I wrote one with PLPGSQL and PLPYTHONU respectively.Example Table Structure:
t_girl=# \d test_array; Table "ytt.test_array"
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.