From 293913568e6a7a86fd1479e1cff8e2ecb58d6568 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 15:44:03 +0200 Subject: Adding upstream version 16.2. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/ecpg-sql-set-connection.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/src/sgml/html/ecpg-sql-set-connection.html (limited to 'doc/src/sgml/html/ecpg-sql-set-connection.html') diff --git a/doc/src/sgml/html/ecpg-sql-set-connection.html b/doc/src/sgml/html/ecpg-sql-set-connection.html new file mode 100644 index 0000000..d672988 --- /dev/null +++ b/doc/src/sgml/html/ecpg-sql-set-connection.html @@ -0,0 +1,18 @@ + +SET CONNECTION

SET CONNECTION

SET CONNECTION — select a database connection

Synopsis

+SET CONNECTION [ TO | = ] connection_name
+

Description

+ SET CONNECTION sets the current + database connection, which is the one that all commands use + unless overridden. +

Parameters

connection_name #

+ A database connection name established by + the CONNECT command. +

CURRENT #

+ Set the connection to the current connection (thus, nothing happens). +

Examples

+EXEC SQL SET CONNECTION TO con2;
+EXEC SQL SET CONNECTION = con1;
+

Compatibility

+ SET CONNECTION is specified in the SQL standard. +

\ No newline at end of file -- cgit v1.2.3