Help with SQL create table

  • Thread starter Thread starter John Cosmas
  • Start date Start date
J

John Cosmas

What statement would I use to complete a CREATE TABLE statement so that I
can set a DEFAULT value in the first field. I figured out the NOT NULL, but
can't get the DEFAULT to work.
 
Where are you using the CREATE TABLE ... SQL?

IIRC, the DEFAULT constraint / clause does not work through the Access
interface or DAO code. I think you need to use the JET OLE DB Provider with
ADO code if you want to use the DEFAULT clause in your SQL.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top