Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
PostgreSQL
Postgre SQL 81 codes
Home
PostgreSQL
Postgre SQL
1 Assign two variables in select into clause
2 Assign value to variable using select into
3 Assigning a concatenated value to a string
4 Command can be used to view all sequences in the currently connected database
5 Concatenating strings
6 Configuration Settings Functions
7 Create a subblock
8 Create data type
9 Create data type and use it as a column data type
10 Create Language plpgsql
11 Current_schemas(false)
12 Declaration of Composite Types
13 Declare local variable
14 Decode binary string from string previously encoded with encode
15 Default value assignment
16 Define and use record type
17 Delete data in a function
18 Displays all data types in the connected database, with comments
19 Displays all database objects in the connected database, with comments
20 Displays all database objects, with comments
21 Displays all databases available, with comments
22 Displays all functions in the connected database, with comments
23 Displays all indices in the connected database, with comments
24 Displays all operators in the connected database, with comments
25 Displays all sequences in the connected database, with comments
26 Displays all tables in the connected database, with comments
27 Displays all views in the connected database, with comments
28 Function for log
29 Generate_series demo
30 Generate_series(0,14,7)
31 Generate_series(4,3)
32 Generate_series(5,1,-2)
33 Inet address of the local connection
34 Inet address of the remote connection
35 Insert data to a log table
36 Joined words
37 Listing psql slash commands
38 Multiline comments
39 Name of current database
40 Name of current schema
41 Names of schemas in search path optionally including implicit schemas
42 Nested for loop
43 Plpgsql is case insensitive
44 Port of the local connection
45 Port of the remote connection
46 Querying a system table
47 Reading from a file into a variable
48 Recovering from the abort state
49 Row function with defined data type
50 ROWTYPE assign through select into
51 SELECT abc def
52 SELECT version()
53 Set_config(log_statement_stats, off, false)
54 Simple While LOOP
55 Single-line comments
56 SQL Functions Returning Sets
57 String Concatenation Operator Type Resolution
58 The variable list
59 Timestamp with time zone postmaster start time
60 To get out of psql
61 Two anyelement parameters
62 Update table data through function parameters
63 Using a variable in an INSERT
64 Using function to insert data to a table
65 Using interpolation during an INSERT
66 Using operators with NULL values
67 Using RAISE EXCEPTION
68 Using RAISE NOTICE
69 Using SELECT INTO with multiple columns
70 Using select into to set variable value
71 Using the %ROWTYPE attribute
72 Using the %TYPE attribute
73 Using the basic loop
74 Using the FOR loop with %ROWTYPE
75 Using the IFTHENELSE statement
76 Using the RAISE statement
77 Using the SELECT INTO statement
78 Using the WHILE loop
79 Using variable declaration options
80 VACUUM command
81 Variable Declarations