Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wierd behavior in alter table

Status
Not open for further replies.
Joined
Aug 27, 2001
Messages
7
Location
US
Perhaps I am blind or just dumb but I cannot figure out why this statement

alter table PROD."mchTEST" alter createdat set default current_timestamp;

produces this output

alter table PROD."mchTEST" alter createdat set default current_timestamp DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned:
SQL0104N An unexpected token "default current_timestamp" was found following "alter createdat set". Expected tokens may include: "<space>". SQLSTATE=42601

Can someone please tell me what I am doing wrong?
 
This is a DDL statement. Did you try and execute it from - for instance - command center?

Ties Blom

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top