Movatterモバイル変換


[0]ホーム

URL:



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

VAR

VAR — define a variable

Synopsis

VARvarname ISctype

Description

TheVAR command assigns a new C data type to a host variable. The host variable must be previously declared in a declare section.

Parameters

varname#

A C variable name.

ctype#

A C type specification.

Examples

Exec sql begin declare section;short a;exec sql end declare section;EXEC SQL VAR a IS int;

Compatibility

TheVAR command is a PostgreSQL extension.


Prev Up Next
TYPE Home WHENEVER
pdfepub
Go to PostgreSQL 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp