Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 24 Jan 2014 @ 07:51:21 GMT


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


Subj:   Activity count of select statement in Stored procedure
 
From:   Sughesh.Sumansingh

Hi Experts,

I am implementing a logic in stored procedure like when a particular select statement is giving non zero records I have come out of SP.

I used logic as Select 1 from table_Name where ;

But even zero records are returned by above select statement, activity_count returned from SP is 1.

When there is 1 record satisfying above condition, then also activity_count returned is 1.

Please let me know your comments.


Thanks,

Sughesh.



     
  <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