User Tools

Site Tools


Sidebar

**HPL/SQL is included to Apache Hive since version 2.0** * [[home|Home]]\\ * [[why|Why HPL/SQL]]\\ * [[features|Key Features]]\\ * [[start|Get Started]]\\ * [[doc|HPL/SQL Reference]]\\ * [[download|Download]]\\ * [[new|What's New]]\\ * [[about|About]]

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