Toad World® Forums

How to change the generation of DB2 identity


#1

I’m doing a conversion of PER SQLServer 2005 to PER DB2 9.7.

My Identitiy column are generated in DB2 9.7 with the “GENERATED ALWAYS” instead of “GENERATED BY DEFAULT”.

I’m not able to find which script I can change to get the right keyword generated.

Any idea please?

Hugues


#2

Hi Hugues,

there is a new package that offers you a comfortable way how to change identity type of selected entities on workspace. Download custom package from:
http://modeling.inside.quest.com/entry.jspa?categoryID=34&externalID=4315

Instructions to import the package:
http://blogs.inside.quest.com/modeling/2010/10/21/how-to-import-custom-packages/

Regards,

Vaclav