I have a table with an auto-increment ID field as shown below.
+------------+-------------------------------------+ | company_id | name | +------------+-------------------------------------+ | 1 | International Client | | 2 | Oracle | | 3 | test | | 4 | testabc | | 5 | testdef | | 6 | abcd | +------------+-------------------------------------+
I want to update the ID column to be a GUID using the
uuid()function.
Additionally, how do I update the foreign key references to the correct GUID?
GUID
as foreign key. How do I update those as the master table is updated? – Sarmentose