Toad World® Forums

Setting not null constraint names

Hi, I am wondering how we can set the Not Null constraint name using a script?

Looking at the reference guide, There are various NotNull properties although none seem to refer to the name. These are all the check boxes on the not null constraint tab.

Any help will be massively appreciated.

Hi,

what is your target database, please?
For Oracle models look at class PERAttributeOR. You will find there property ConstraintNotNullName
Regards

Vaclav

That’s the one!

Thanks vaclav.