Skip to content

Tag: oracle

Can I combine parts of multiple columns in Oracle SQL

I’m a student in college and I’m working on a project with Oracle DB. I was wondering if it was possible to make a column value appear as concatenated parts of other columns when I Insert a line and use that column as PK ? So on a table like this : So when I insert a line I’d like

Limit date for each day to 2:30 PM

SQL Oracle Query: I have datetime values in 30 minute intervals. I want to stop each day at 2:30 PM. I am limiting my hours with this: TO_CHAR(ALL_DATES.DATEDATE,’HH24′) NOT IN (01,02,03,04,05,06,07,…