I am unable to add the primary key constraint to a existed column(which is not a PK).
Error starting at line 20 in command:
alter table
pavan_employees
add
(
dept_no PRIMARY KEY
)
Error report:
SQL Error: ORA-02263: need to specify the datatype for this column
02263. 00000 - "need to specify the datatype for this column"
*Cause: The required datatype for the column is missing.
*Action: Specify the required datatype
Please suggest......