Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command to recompile a procedure?

Status
Not open for further replies.

CapsuleCorpJX

IS-IT--Management
Jun 23, 2004
70
US
Currently the way I recompile a stored procedure is to reexecute its definition.

Is there a teradata command that will recompile the procedure? Like: "recompile databasename.procedurename" and thus let me capture any errors it may return (for example: procedure can't be recompiled because a table or column that the procedure references no longer exists)
 
Starting with V2R5 there's
"alter procedure databasename.procedurename compile [with warning]"

Of course it's only possible if the procedure was created with source code.

Check the DDL manual...

Dieter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top