Hi All, I need to create table from my Java code. I need to specify default value to a column as 0. If I specify with default keword as in Oracle it gives Syntax Error.. How do I do that? Thanks Mrutyunjay
You don't. (Or, you change your URL to point to an Oracle database). AFAIK, there is no way to set the default value (or even to retrieve the default from SQL) for a column. Nor is there a way to set the format, or to retrieve the help text/description associated with the column. Access has its limitations.
posted 15 years ago
In fact... I didn't think the default you set for a column in Access had any effect on INSERT done over ODBC or JDBC. Someone correct me if I am rong.