Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Custom Table Primary Key View modes: 
User avatar
Member
Member
TG - 8/16/2012 10:44:32 AM
   
Custom Table Primary Key
Is there a way to set a Primary Key in a custom table in Kentico?

I have a phone number table that I only want each phone number entered into the table once. The only primary key that it gives me is the ItemID.

User avatar
Certified Developer 8
Certified Developer 8
Jiveabillion - 8/16/2012 4:04:00 PM
   
RE:Custom Table Primary Key
No you can't. You can modify the insert query for the custom table to check for existing phone number before insert though.