Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > Reporting Services
|
Reporting Services SQL Server Reporting Services. Please specify which version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Reporting Services 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 December 18th, 2007, 07:30 PM
Registered User
 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't use stored procedures containing temp tables

I'm trying to add a stored procedure dataset to my report that contains temp tables. SRS returns the error message 'Invalid object name [table name]. (Microsoft SQL Server, Error: 208)'

I've also tried creating permanent tables from within the stored procedure with the intent of dropping them at the end but SRS doesn't like that either.

It seems like this would be a common user need, I can't imagine this being a limitation of SRS. Does anyone know a way around this?

I'm using SRS 2005 if that makes a difference.

Thanks.
 
Old December 20th, 2007, 02:24 PM
Registered User
 
Join Date: Dec 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

SET FMTONLY OFF


Turning off this setting at the beginning of the SP corrects this issue.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using System Tables, Views and Stored Procedures syphon SQL Server ASP 2 September 6th, 2006 03:09 AM
Temp Tables vs. Large Table DaveGerard SQL Server ASP 0 August 4th, 2005 10:08 AM
system tables and stored procedures recovery prob. mukund SQL Server 2000 1 December 24th, 2004 07:22 PM
Uploading database tables/stored procedures Jan_Ma Classic ASP Databases 2 June 17th, 2003 11:09 AM





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