Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Select rows created between 2 Pm and 5 PM

$
0
0
Hello,

can someone please let me know how can I select all rows inserted in a table created between 2 Pm and 5 Pm since yesterday.

I have something like this but not sure how to select between 2pm and 5pm.

select * from table1 where trunc(create_dt) >= trunc(sys-1)

can someone please help

Thanks
Pavan

Viewing all articles
Browse latest Browse all 13329

Trending Articles