Hi All,
I have a customers structure that has fields (Longint) named ID set as the
primary key for each table.
This is a structure I took over. We are trying to upgrade to v17.4 now since
the keys are set as primary and there is a foreign field definition related I
can not do the following as I get errors. The errors I get are
The list of foreign key constraints is not empty for table: Constants of
database: JakeCH-WUUID
Cannot alter primary key definition of table Constants
Failed to execute ALTER TABLE command.
I do not went to have to undraw and redraw every relationship line to make this
work. Since when do you have a foreign key that can only relate to a primary key
Regards
Chuck
Begin SQL
ALTER TABLE [Constants] DROP PRIMARY KEY;
ALTER TABLE [Constants] ADD [Constants_UUIDKey_s] UUID AUTO_GENERATE
PRIMARY KEY;
End SQL
------------------------------------------------------------------------------------------------
Chuck Miller Voice: (617) 739-0306
Informed Solutions, Inc. Fax: (617) 232-1064
mailto:cjmiller<AT SIGN>informed-solutions.com
Brookline, MA 02446 USA Registered 4D Developer
Providers of 4D and Sybase connectivity
http://www.informed-solutions.com
------------------------------------------------------------------------------------------------
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under applicable
law. These materials are intended only for the use of the intended recipient.
If you are not the intended recipient of this transmission, you are hereby
notified that any distribution, disclosure, printing, copying, storage,
modification or the taking of any action in reliance upon this transmission is
strictly prohibited. Delivery of this message to any person other than the
intended recipient shall not compromise or waive such confidentiality,
privilege or exemption from disclosure as to this communication.
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************