Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > SQL Language
|
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 27th, 2004, 08:02 PM
Registered User
 
Join Date: Apr 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Skipmeok Send a message via MSN to Skipmeok
Default Access SQL alter table add constraint

Hi all:
I am trying to add a check constraint to an existing table in Access. The following code receives a syntax error, but for the life of me, I cannot figure out why. Any help would be greatly appreciated.

ALTER TABLE <mytable>
ADD CONSTRAINT ck_something CHECK (<field name> <= 500);

Please help,
Skipmeok

Skipmeok





Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i add constraint on update cascade without mahen_pali SQL Server 2005 1 May 3rd, 2008 03:28 PM
What do I need to add/alter? obrienkev C# 2005 1 November 1st, 2007 12:04 PM
Cant ADD CONSTRAINT (ergent) melvik MySQL 3 April 18th, 2006 01:16 AM
How to add constraint to access bounded form. method Access 1 June 28th, 2005 10:39 AM
Alter Table - Add Column [email protected] Access 2 July 29th, 2003 03:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.