Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
|
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 7th, 2004, 01:36 AM
Authorized User
 
Join Date: Jul 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error in view updatable

The view(SIC7331) definition is as follows
SELECT TOP 100 PERCENT *
FROM dbo.BEA6_USA
WHERE (siccode LIKE '%7331%') OR
                      (siccode LIKE '%7311%') OR
                      (siccode LIKE '%7319%')
ORDER BY Companyname,sl_no
when I try to upadate it is giving the error

The view or function is not updatable because the definition contains the TOP clause.
please help me in solving the problem.

 
Old September 7th, 2004, 09:35 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sounds like you're using an Access ADP file...

If so, open your query in design view, right-click | properties | View tab. Uncheck checkbox next to TOP...

Then save query.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Operation must use Updatable query Gnub Beginning VB 6 4 June 19th, 2007 12:32 PM
recordset not updatable Vince_421 Access VBA 3 February 13th, 2007 05:02 PM
Must use "updatable query" bc7 ADO.NET 4 January 30th, 2007 03:58 AM
updatable subform Vince_421 Access 1 June 1st, 2006 07:49 AM
Access 2000 forms not updatable re_anu Access VBA 4 May 28th, 2004 10:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.