Any idea what's wrong with this SQL?

ALTER TABLE test
    ADD COLUMN testNum BYTE NOT NULL DEFAULT 5

This is using Access 2000. It seems to be the DEFAULT
that's causing problems (works OK with just NOT NULL,
or without constraints altogether).

Even statements copy-pasted from the MS Jet SQL
reference docs seem to not work with DEFAULT. Any
common pitfalls with this clause?

thanks,

- Gyrus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to