Trying to create table that have a getdate() function
CREATE TABLE Orders
(OrderId int NOT NULL PRIMARY KEY,
ProductName varchar(50) NOT NULL,
OrderDate datetime NOT NULL DEFAULT GETDATE()
);
but got an error
ora-00901 right parenthesis missing