It’s a bit of a quirk where someone at Microsoft forgot to add a NEW function from within Enterprise manager.
You can:
Add a database diagram to your database and add all your required tables. From here drag and drop the columns onto the tables where you want to create you foreign keys.
Or
Alternatively you can use the alter table statement to add the foreign keys you require.
Once they are there they can be edited from within Enterprise manager.
Well I can add tables to the diagram but I cannot save the diagram. I get an Errormessage that says that I should '...Alter Table...'. So I guess I have to do this in code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.