Wrox Programmer Forums
|
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 May 14th, 2004, 01:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default Stored Procedure testing

Hello,

I'm trying to test to see what an error is being caused by, but all I'm getting in the result set back is:

The command(s) completed successfully.

Does anybody know why it isn't even selecting anything? What is this a sign of? I'm creating a dynamic SQL string, which I'm executing via the sp_executeSQL proc. For testing, I'm using print @SQL, which in Query Analyzer was returning something. Now it isn't working.

Also, the concat_null_yields_null option is set to off.

Any help is appreciated?

Thanks,

Brian
__________________
Brian
 
Old May 14th, 2004, 09:53 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

Hi,

It will help others to determine what is causing your particular problem if you post your code.

on the second hand; use profiler to trace your root cause.





Similar Threads
Thread Thread Starter Forum Replies Last Post
This Stored Procedure rao965 SQL Server 2000 2 July 2nd, 2007 07:21 PM
Stored Procedure jezywrap SQL Server ASP 1 January 3rd, 2007 12:29 AM
Stored Procedure Help. midway11 SQL Language 3 November 20th, 2006 06:36 AM
stored procedure kdm260 SQL Server 2000 2 June 19th, 2006 04:45 PM
Stored Procedure help flyin SQL Server 2000 6 July 25th, 2004 05:18 PM





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