Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 4th, 2003, 10:25 AM
Authorized User
 
Join Date: Jun 2003
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem retrieving resultset from asp ...

I'm trying to execute a stored procedure which involves a temp table. I'm getting no errors in the code, but no resultset either.
The whole process worked fine with SQL Server 7.0, but not 2000. Anyone run into this?

thanks.
Melissa Mussitsch
ANSYS - IT
 
Old June 5th, 2003, 08:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do you have SET NOCOUNT ON inside your sproc (prior to doing the insert into the temp table)? Otherwise the "xx records affected" message is being returned, and placed into the recordset object. You can SET NOCOUNT ON after you have done anything that returns "xx records affected".
 
Old June 17th, 2003, 07:25 AM
Authorized User
 
Join Date: Jun 2003
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default



That was exactly what I needed to do!

Thanks!





Similar Threads
Thread Thread Starter Forum Replies Last Post
retrieving images from database in asp.net pages sweetyrathore ASP.NET 1.x and 2.0 Application Design 3 March 25th, 2012 04:29 AM
Retrieving Roles using C# / ADSI in ASP.Net app Prashant.k.m ASP.NET 1.0 and 1.1 Professional 0 October 4th, 2005 04:28 AM
retrieving images from Access DB into asp page programmer_scs Classic ASP Databases 1 November 30th, 2004 10:19 AM
problem retrieving from database rajuru Beginning PHP 2 October 8th, 2004 12:34 PM
Retrieving the Author of a file in ASP.Net mahulda ASP.NET 1.0 and 1.1 Basics 1 July 18th, 2004 10:13 AM





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