From 311bcfc6b3acdd6fd152798c7f287ddf74fa2a98 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 16 Apr 2024 21:46:48 +0200 Subject: Adding upstream version 15.4. 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..caafb81 --- /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. +

DEFAULT

+ Set the connection to the default connection. +

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