I would like to use a GUID for the type of my primary key.
Do you know how to do that in SAP powerdesigner 16.5 ?
Asked
Active
Viewed 465 times
0

Toothgip
- 469
- 6
- 14
-
For which DBMS? – pascal Jul 31 '19 at 07:28
-
1If you plan to use GUID as your primary key and create a clustered index then I recommend using NEWSEQUENTIALID() since you should NOT use the GUID column as the clustering key – Dylan KAS Aug 02 '19 at 08:10
1 Answers
2
I finally add an other data type in the tab attribute of an Entity which I called UUID and generate a UUID in SQL which is a recognized type

Toothgip
- 469
- 6
- 14
-
Thanks for answering your question.. How did you implement it? A default value, or a insert trigger? – pascal Jul 31 '19 at 07:29
-
I used UUID type and it was recognized in PostgreSQL so i didn't need to add an insert trigger i generate the UUID before inserting in the table – Toothgip Aug 06 '19 at 12:36