user1874594
user1874594

Reputation: 2483

teradata - volatile table

2 Questions

Upvotes: 0

Views: 541

Answers (1)

anwaar_hell
anwaar_hell

Reputation: 776

@user1874594 : you didn't specified which mode you are interactive or batch if you query is running for a long time in interactive mode , you can do below press control+C BREAK received. Input Command: [after pressing break key or control C]

and then fire ABORT . You will get below screen.

abort;
 *** ABORT signal received.
 *** Warning: Canceling the rest of the output.
 BTEQ -- Enter your SQL request or BTEQ command:

your VT table is still there..:)

2) VT tables are stored in SPOOL and there stats are collected in memory. You can't access them directly. Help stats is the only way .

By the way if you have script experience then write a shell script and get that stats in a file.

Upvotes: 1

Related Questions