A
AlisterN
I have a field called [Franking] that has had a validation rule applied via
the table-design interface.
The rule is ">=0 And <=1".
I now need to change this rule programatically (ie using DDL) to ">=0 And
<=4"
(I can't use the table-design interface because I need to change clients
databases via a script).
I suspect I need to use ALTER TABLE with (possibly) ADD CONSTRAINT. However
all examples I find require a DROP CONSTRAINT first - but what is the name of
the current constraint?
Is it possible to do this, and if so , how?
Any help much appreciated.
Alister
the table-design interface.
The rule is ">=0 And <=1".
I now need to change this rule programatically (ie using DDL) to ">=0 And
<=4"
(I can't use the table-design interface because I need to change clients
databases via a script).
I suspect I need to use ALTER TABLE with (possibly) ADD CONSTRAINT. However
all examples I find require a DROP CONSTRAINT first - but what is the name of
the current constraint?
Is it possible to do this, and if so , how?
Any help much appreciated.
Alister