Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 03 Apr 2003 @ 15:45:04 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Macro Question
From:   Kohut, Eric J

While, as Glen explains, you can do this, a stored procedure may be a better fit.

It depends on what you are attempting to accomplish. Are you looking to return a single row or an entire result set from the final select?

Stored Procedures can only return a single row directly. They can however, build a table and return the table name that can be retrieved by any following SQL statement.



Eric J. Kohut
Senior Solutions Consultant - Teradata Solutions Group - Retail
Certified Teradata Master
NCR Corp.

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016