Solved

How do I delete records from a view in SQL Server 2000?

Posted on 2009-05-06
3
226 Views
Last Modified: 2012-05-06
I tried "DELETE FROM view WHERE field=N'value'" but it gives me this:

view is not updatable because the modification affects multiple base tables.

I don't know where the view takes the records from.
0
Comment
Question by:datalink01
3 Comments
 
LVL 60

Accepted Solution

by:
chapmandew earned 250 total points
ID: 24314920
you can put an INSTEAD OF trigger on the view.
articles.techrepublic.com.com/5100-10878_11-6113179.html
0
 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 250 total points
ID: 24314923
Why don't you post the View and we may be able to help you more.

What the error message is suggesting to you is that DELETE can only operate on one table at a time.
0
 

Author Closing Comment

by:datalink01
ID: 31578469
N/A
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Virtual SQL Server 2014 Standard 35 94
Re-appearing SQL Server Agent jobs 7 31
SQL Recursion 6 22
Need to find substring in SQL 5 21
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question