General information
Category:
Coding, syntax & commands
>I can't think of a good reason to use a character data-type for a surrogate primary key. The integer data-type seems particularly well suited for surrogate primary keys, and you can always STR it if you need to concatenate it with another field. Using the STR of a numeric value for the key itself seems like unnecessary overhead.
use bintoc() instead of str()
Previous
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