Jump to content
Server Maintenance This Week. ×

MS SQL 2008 Views: pre-defined unique key


This topic is 4750 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

If I add an SQL view to the relationship graph in FM a pop-up comes up with:

The table "xyz" does not provide a pre-defined unique key...

If however I chose the underlying table instead of the view then filemaker properly identifies the primary key and the pop-up is not shown. The SQL table of course has the PK.

Question: is there a way to construct the view so FM will recognize the PK of the underlying table? Perhaps indexed views should be used? If I simply choose the field for the unique-key in FM then I'm afraid filemaker will create its own indexes, performance will suffer and I've read somewhere that there might be issues with refresh, etc..

Did anyone get around this problem?

Thanks!

Link to comment
Share on other sites

This topic is 4750 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.