Hi all
I was try to do the following things but i am getting a syntax error in the sql analyster of the sql server 2000
Case:
Alter the “rm” table.
Change the default value for the “dp_abbr” field to (‘Undefined’).
************************************
Code is:
ALTER TABLE rm ALTER COLUMN dp_abbr Default ['Undefined']
****************************
Error
Server: Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'Default'.
*********
Need some help
I was try to do the following things but i am getting a syntax error in the sql analyster of the sql server 2000
Case:
Alter the “rm” table.
Change the default value for the “dp_abbr” field to (‘Undefined’).
************************************
Code is:
ALTER TABLE rm ALTER COLUMN dp_abbr Default ['Undefined']
****************************
Error
Server: Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'Default'.
*********
Need some help