User Tools

Site Tools


Sidebar

HPL/SQL is included to Apache Hive since version 2.0

print

PRINT Statement - PL/HQL Reference

PRINT statement prints a line and can be helpful to debug programs. The statement appends a line terminator.

Syntax:

PRINT exp
or
PRINT(exp)

Parameters:

Parameter Type Description
exp VARCHAR Text string or expression

Return Value:

No.

Examples:

PRINT 'Hello, world!';
PRINT 'Hello, ' || 'world!';
PRINT('Hello, world!');

Compatibility: Microsoft SQL Server