Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

JDBC - create timestamp from LogonDate and LogonTime - topic by rcotten

$
0
0
Very new to Teradata but have searched the forums and tried many different technicques and can not get this query to run in either SQL Assistant or via the JDBC driver v14.  (Ideally I want this to work via the JDBC driver).   Select cast(LogonDate as timestamp(0)) + (LogonTime - time '00:00:00' hour to second) TS, UserName, UserGroup, UserDescription, DatabaseName, TableName, StatementText from dp_mcif_hk_view.AccessLog_view where TS >= ? Order by TS desc   A select * in sql assist shows:

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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