Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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 June 9th, 2005, 02:40 PM
Authorized User
 
Join Date: Jan 2005
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to p2ptolu Send a message via Yahoo to p2ptolu
Default functions in SQL SERVER 2000 vs STORED PROCEDUES

I am using ASP and i just upsized from access to SQL 2000 but when i run some scripts it gives me this error messages, please what could be happening.Also how do i call functions in SQL 2000, i can only use SQL server 7 for stored procedures and views.please help.

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]The request for procedure 'qryContentWebPages' failed because 'qryContentWebPages' is a function object.
/discovery/cms/contentthefund/webpages.asp, line 19


Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][SQL Server]The view or function 'qryContentTheCompanyBoardList' is not updatable because the definition contains the TOP clause.
/discovery/cms/contentthecompany/boardmanagementAddEditFn.asp, line 103




 
Old June 10th, 2005, 12:04 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

   It seems you used some sort of automated function to upsize. These qrys that are causing the error are probably not syntactically compatiable with SQL server syntax. They will need to be rewritten, either as a stored procedure or a function, depending on how you plan on using it. I think stored procedures will probably be what you need.


 
Old June 13th, 2005, 09:32 AM
Authorized User
 
Join Date: Jan 2005
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to p2ptolu Send a message via Yahoo to p2ptolu
Default

[Microsoft][ODBC SQL Server Driver][SQL Server]The view or function 'qryContentTheCompanyBoardList' is not updatable because the definition contains the TOP clause.








Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Access .mdb calling SQL server 2000 stored proc fazzou Access 6 September 8th, 2006 11:32 AM
SQL Server 2000 and SQL Server 2000 CE dparsons SQL Server 2000 1 July 31st, 2006 12:59 PM
looking for access 2000 to sql server 2000 sql/que method SQL Server 2000 0 July 7th, 2005 12:46 PM
SQL SERVER 2000 AND ACCESS 2000 ckentebe SQL Server 2000 3 June 17th, 2004 08:50 PM
sql server functions example mateenmohd Classic ASP Databases 3 June 12th, 2003 05:54 PM





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