Jul 19, 2004 #1 nread Technical User Oct 31, 2001 58 GB Hi Does anyone know how i can select a substr() of a timestamp field...? The data within the field is stored as 12-JUL-04 10.00.36.000000 AM and i need to pull out certain records within a particular time period. Thanks for any help provided. N
Hi Does anyone know how i can select a substr() of a timestamp field...? The data within the field is stored as 12-JUL-04 10.00.36.000000 AM and i need to pull out certain records within a particular time period. Thanks for any help provided. N
Jul 19, 2004 #2 lewisp Programmer Aug 5, 2001 1,238 GB The data is the field is not stored in that format, it is simply displayed in that format as defined by your DBAs. You can select records [tt]WHERE To_Char(Date_column,'HH24:MI:SS') BETWEEN '12:00:00' AND '13:00:00'[/tt] for example. Upvote 0 Downvote
The data is the field is not stored in that format, it is simply displayed in that format as defined by your DBAs. You can select records [tt]WHERE To_Char(Date_column,'HH24:MI:SS') BETWEEN '12:00:00' AND '13:00:00'[/tt] for example.