General information
Category:
Coding, syntax & commands
Keep in mind that if you remove a primary or candidate key then you'll lose any referential integrity. I don't know if that matters. I still think there's gotta be a better way than removing PK. JMO.
>>During Database maintenance management, I have to switch off/on primary key of concerned table.
>>Can anybody help me for the correct dbsetprop() syntax ?
>>
>>Thank you.
>
>To remove:
>
>ALTER TABLE Mytable DROP PRIMARY KEY
>
>to add:
>
>ADD PRIMARY KEY mykey TAG MyKey
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only