Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
SET CONNECTION
Prev Up34.14. Embedded SQL CommandsHome Next

SET CONNECTION

SET CONNECTION — select a database connection

Synopsis

SET CONNECTION [ TO | = ]connection_name

Description

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

Parameters

connection_name#

A database connection name established by theCONNECT 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.


Prev Up Next
SET AUTOCOMMIT Home SET DESCRIPTOR
pdfepub
Go to Postgres Pro Standard 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp