Login
Products
Sales
Support
Downloads
About
Home
»
Technical Support
»
DBISAM Technical Support
»
Support Forums
»
DBISAM SQL
»
View Thread
View Thread
The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Drop REQUIRED using SQL
Mon, Oct 30 2006 12:10 PM
Permanent Link
"Robert"
Wha tis the syntax from dropping a required constraint using SQL?
Robert
Tue, Oct 31 2006 9:48 AM
Permanent Link
adam
If the constraint is created using a UNIQUE index you would use the statement:
DROP INDEX(TableName."IndexName") ;
If the constraint were the result of a condition created on an individual column you would
use REDEFINE for that column
i.e.
ALTER TABLE "TableName"
REDEFINE COLUMN "FieldName" [FieldType] ;
Simply not including the existing constraint in the REDEFINE would equate to it being
"dropped" from the columns definition.
--
At least this works for me in V3 (just about to update to V4!)
Adam