G
Gene
Hello,
I want to use GUIDs as keys for records in a number of tables for a database
I'm designing. The reason- I want to be able to "merge" records from
different site installations in the future and I don't want key conflicts.
Starting with the schema design (sqlserver)- what is the best "type" to pick
to hold the GUID?
I'm thinking varchar of length 36.
After I've designed the schema in SQLServer, I plan to use the server
explorer and create a dataset definition for use in .Net. - Any tips for
dealing with GUIDS with regard to the code the designer generates? i.e for
creating/modifying and deleting records?
Thanks in advance,
Gene
I want to use GUIDs as keys for records in a number of tables for a database
I'm designing. The reason- I want to be able to "merge" records from
different site installations in the future and I don't want key conflicts.
Starting with the schema design (sqlserver)- what is the best "type" to pick
to hold the GUID?
I'm thinking varchar of length 36.
After I've designed the schema in SQLServer, I plan to use the server
explorer and create a dataset definition for use in .Net. - Any tips for
dealing with GUIDS with regard to the code the designer generates? i.e for
creating/modifying and deleting records?
Thanks in advance,
Gene