Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Trigger Issue

Trigger Issue

Scheduled Pinned Locked Moved Database
databasehelpsysadminquestionannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Elizma
    wrote on last edited by
    #1

    Hi Guru's I have a Linked Server in SQL 2005 to an Access 2003 database. I have written a stored procedure to insert a record into the Access DB. When I run the Proc on it's own, it perfoms the task, but the moment I call it from a Insert Trigger, do I get an Error Message Saying that the Linked Server does not support the required interface. Could someone please help me with a solution as to how I am going to insert / update the table in Access from SQL? Your help will be greatly appreciated. Kind Regards, Elizma

    M 1 Reply Last reply
    0
    • E Elizma

      Hi Guru's I have a Linked Server in SQL 2005 to an Access 2003 database. I have written a stored procedure to insert a record into the Access DB. When I run the Proc on it's own, it perfoms the task, but the moment I call it from a Insert Trigger, do I get an Error Message Saying that the Linked Server does not support the required interface. Could someone please help me with a solution as to how I am going to insert / update the table in Access from SQL? Your help will be greatly appreciated. Kind Regards, Elizma

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      It seems likely that linked servers do not support triggers (spit - I hate triggers) so I would do the following. Do some reading on linked server/triggers (you mey get a definitive answer here). Move the insert to Access out of the trigger and into the proc that inserts into your SQL table. You will miss any inserts that do not go through the proc but is will work. If you have data inserting from another source then track it down and nail it.

      Never underestimate the power of human stupidity RAH

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups