I just wanted to check if using column of type of bit (SQL Server 2008) and a guid to form a composite primary keys is bad practise or not. i.e.
id1 (GUID) pk
id2 (GUID) pk
id3 (int) pk
isTrue (bit) pk
col1 (int)
col2 (datetime)
...
I have 4 cols which makeup my composite pks.
Please advice if its good idea or not.
I think there is no problem using this combination but only one suggestion here is to use NEWSEQUENTIALID() insted of newid() to populate id1 and id2.