Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Regarding StatementText in accesslog - response (2) by praveen_reddy

$
0
0

Hi Dieter,
Thanks for the reply but when i used the below query 

sel  StatementText

from dbc.accesslog where  UserName=  'abcd' and LogonDate= '2013/11/28';

 

Its taking '2013/11/28' as date variable as for Explain paln

 

 Next, we do an all-AMPs RETRIEVE step from DBC.AccLogTbl in view

     accesslog by way of an all-rows scan with a condition of (

     "(DBC.AccLogTbl in view accesslog.LogonDate = DATE '2013-11-28')

     AND ((TRANSLATE((DBC.AccLogTbl in view accesslog.UserName )USING

     UNICODE_TO_LOCALE WITH ERROR )(CHAR(30), CHARACTER SET LATIN, NOT

     CASESPECIFIC))= 'abcd ')")

 

But not retriving rows. Its showing Zero rows. Please help me

 

Regards,

Praveen.

 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>