Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 29 Oct 2004 @ 09:04:58 GMT


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


Subj:   Re: Session Mode
 
From:   David Clough

Fred Pluebell wrote:

  The manuals indicate Session Mode is one of the attributes encoded in DBC.TVM column SPObjectCodeRows. Exactly what the values mean doesn't seem to be documented, but the Release Summary for V2R5.0 has a little information for that release.  


Thanks for that, Fred. Based on your comment, the following SQL appears to bring back Stored Procedures compiled in Ansi Mode:

     SELECT T2.DatabaseName,T1.TVMName as ProcedureName, T1.LastAlterTimeStamp
     FROM  DBC.TVM T1
     INNER JOIN dbc.Databases2 T2
     ON T2.DatabaseId = T1.DatabaseId
     INNER JOIN dbc.Databases T3
     ON T3.DatabaseName = T2.DatabaseName
     WHERE T1.TABLEKIND = 'P'
      AND SPObjectCodeRows  <> 30012100;

Dave Clough
Database Designer
Database Design Group



     
  <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: 15 Jun 2023