question

rama avatar image
rama asked

computed key as foreign key

I took string as a primary key in 1 table & i seted its automatically increasing& i defined it as a foreign key in other table but its not working please help me
foreign-key
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Fatherjack avatar image Fatherjack ♦♦ commented ·
Please post the error that you are getting along with the code you used to create the table so that we can give you some accurate advice
0 Likes 0 ·
Grant Fritchey avatar image Grant Fritchey ♦♦ commented ·
What's not working? The increasing values of the string (really bad choice by the way) or the foreign key constraint?
0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.