print statement

Database
Enthusiast

print statement

In Teradata print statement isn't giving output to the stdout.Then
what is it's usage.Or that requires some other environment settings.
1 REPLY
Senior Apprentice

Re: print statement

PRINT is outdatet syntax, no longer availabe in current releases.
But even in old releases it never wrote to stdout, because this would be stdout on the node of your session's PE.
You needed access to database window #5 and this is for the dba only.

If you need to write some info, the recommended way is to insert into a Global Temp Table within the SP and after CALLing the SP you select from that table.

Dieter