Jump to content

Maximum length of text primary key?


This topic is 6007 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

Is there a maximum length for a text primary key?

The table create a primary which merge a serial number field with the computer MAC address. The relationship between the child table and the parent works on a PC with a 48-bit address but not on the UMPC which seems to have a longer address.

On the UMPC, a problem occur when I created a child data from the parent. Whenever I create a record from a portal in the parent layout all the records from the child table where showing. This problem was not occuring on the PC.

Is there any reason?

BTW, on the UMPC it's an offline version of the server. It's the reason why I use the MAC address as the key.

Posted

100 characters per documentation; 109 characters in observation

You should look into Ray Cologon's UID technique available on his website which can help create unique keys.

This topic is 6007 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.