The Sybase manual and plenty of examples claim I can write:
create table run_log (
run_id integer not null default autoincrement
);
But Sybase 15 says there is a syntax error on the default
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sybase documentation isn’t great, and it turns out there’s Sybase ASA, some other product they bought, and Sybase ASE (Server Enterprise) which is what most people would think of as Sybase.
For ASE15, it’s not autoincrement, it’s identity, which must be on numeric, not integer