Re: SQL 2000 Stored Procedure Problem
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Thu, 24 May 2007 13:15:11 -0400
Richard,
Are you getting any error messages? And, if so, what do they say?
Things to think about: Are all objects in the dbo schema? On both servers?
Are there different rights granted on the two servers? (By temp tables, I do
understand you to mean #tables in tempdb.)
Since it works on one server not another, I would not expect execution
context to be the problem with temp tables.
Not much help, but any extra information you have could assist.
RLF
"Richard" <rich@xxxxxxxxxxxxxxxx> wrote in message
news:eiTtZUhnHHA.2296@xxxxxxxxxxxxxxxxxxxxxxx
Yesterday I spent hours searching the groups for a solution to this problem
with no luck.
The issue is that a VB6 app I inherited has been running fine for years on
SERVER1 (Server 2003 and SQL Server 2000). We moved the Database to a new
SERVER2 (Server 2003 and SQL Server 2000) . The app has a mix of pass
through SQL statements and I was in the process of converting them all to
Stored Procedures. Five of the 14 routines have been converted to Stored
Procedures. On SERVER1 all work fine.
On SERVER2 only the pass through routines work. Any that use Stored
Procedures failed. I then wrote a simple Stored Procedure that returned
just a text string - that worked - so it is not just a Stored Procedure
problem . But as soon as I added a temp table to that "simple" Stored
Procedure - it fails to return anything. All 5 of the production routines
that fail use Temp tables.
I have tried every combination of permissions settings I could find and
nothing seemed to work.
Anyone have any ideas here ?
Thanks!!
.
- Follow-Ups:
- Re: SQL 2000 Stored Procedure Problem
- From: Richard
- Re: SQL 2000 Stored Procedure Problem
- References:
- SQL 2000 Stored Procedure Problem
- From: Richard
- SQL 2000 Stored Procedure Problem
- Prev by Date: SQL 2000 Stored Procedure Problem
- Next by Date: Re: SQL 2000 Stored Procedure Problem
- Previous by thread: SQL 2000 Stored Procedure Problem
- Next by thread: Re: SQL 2000 Stored Procedure Problem
- Index(es):
Relevant Pages
|
|