Solved

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

Posted on 2009-05-06
3
189 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
Comment Utility
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
Comment Utility
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
Comment Utility
N/A
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now