Use unique key for Sqlserver view for updates

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • addepad

    Use unique key for Sqlserver view for updates

    I use an MsAccess frontend app that uses a 2 table view defined in
    Sql(2005). When i link the view manually I can say (and cache in
    Access) what field will be used as as primary key. This way I can
    update data in the view (in both underlying tables). In fact the same
    that is possible when I open the view via Sql management console.
    But... normally I don't link tables manually. But then Access can't
    get the information from Sqlserver what field can be used as a unique
    key.
    Is there a way to define such a thing in Sqlserver. Something like a
    'hint' during the view definition??
    Or does someone know a workaround?
Working...