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

does not like sysdate datatype

$
0
0
Even if I take the second part out, it says invalid data type. Trying to add 2 fields to a table. First field empdate should be the systemdate. Second field should be the termination date, in which I should use whatever the current timestamp happens to be.

Here's what I got and tried it with and without the default, but same thing. But even in examples, it takes the default.

Alter TABLE employees
ADD EmpDate (date sysdate,
EndDate date current_timestamp);

thanks

Viewing all articles
Browse latest Browse all 13329

Trending Articles