Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 08 Apr 2011 @ 19:21:00 GMT

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

Subj:   Re: SUBSTR function and logonsource
From:   Tewksbury, Kevin

If you are only after the id of randerson you could try the following...

     ,substr(b.logonsource,55,17) as "UserID"
     FROM  dbc.AccessLog a,
       dbc.LogOnOff b
     WHERE  substr(b.logonsource,55,17) like '%RANDERSON%'

Kevin R Tewksbury
Sr. Database Administrator
Limited Technology Services

  <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