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.
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.