Store Sysdate in a variable
Hi
I'm trying to store the value of sysdate in a variable so I can use it in a query later.
In SQL Server I'd use the following syntax:
DECLARE @storeddate DATETIME
SELECT @storeddate = GETDATE()
SELECT @storeddate
Result:
2008-08-01 14:47:15.253
How would I do the equivalent in Oracle?