← BYTES
Oracle·Starter·Ref: 27.1.15

What does `SELECT sysdate FROM dual;` do?

Have a question about this video? Mention reference 27.1.15 when you contact us.

a.Returns an error -- DUAL is not a real table
b.Returns the Oracle version number
c.Deletes all rows from the DUAL table
d.Returns the current date/time, using DUAL as a conventional one-row, one-column dummy table
DUAL is a special single-row table Oracle provides specifically so you can SELECT a pseudocolumn or function result (like SYSDATE) without needing a real table to select FROM.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES27115#Oracle