Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Primary key allow null values??

Former Member
0 Likes
2,425

hi all,

I created ztable stu_info ,in that stu_no is primary key . this field allow null value also, i put a foreign key in other table.

I tick the field initialization for stu_no in dictionary.

stu_no primark key allow null values why??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,279

Hi,

After the chek box for primary key there is one more check box ..u have to check that to avoid having null values..

check box of initial values ...

Regards

5 REPLIES 5
Read only

Former Member
0 Likes
1,280

Hi,

After the chek box for primary key there is one more check box ..u have to check that to avoid having null values..

check box of initial values ...

Regards

Read only

Former Member
0 Likes
1,279

heading is Initial values..check that to avoid null values...

Read only

0 Likes
1,279

THANK YOU VERY MUCH!!!

Read only

0 Likes
1,279

This message was moderated.

Read only

Former Member
0 Likes
1,279

hi all.........

Actually there is something called intial values for each data type.

for char it is space and numc is 0.

so when wver u dont give any value it takes the initial value.

Thanks