Executing a stored procedure to insert records into a table - SQL Server 2000 -


I am working in SQL Server 2000. The following question is not working

  declare @TempAccountKey table (AccKey integer, SitName varchar (1000), SitKey integer) putting @TempAccountKey (AccKey, AccName) Executive [usp_Get_AccountForUser] @ username  

Throw this error

Any ideas?

# 1

>


linked server set properly made Has been up. So I do the following query executed

  Executive [ABC Skyuel- PROD.DBabc.dbo.usp_Get_ABCForUser]  

This is an error that can not be found "any Even thoughts?

Anelvi

Instead of using a temporary table

< Pre = table #TempSiteKey (AccKey integer, SitName varchar (1000), SitKey integer) #TempSiteKey (AccKey, AccName) insert exec [usp_Get_AccountForUser] @Username Drop Table #TempSiteKey

And because you have misplaced it

  Executive [ABC SQL-PROD.DBabc Due to the reason you can not call the process .dbo.usp_Get_ABCForUser]  

Actually the process' ABC SQ L- PROD.DBabc.dbo.usp_Get_ABCForUser is meant to execute

'

What do you want :.

  exec [abc-sql-prod] [DBABBC]. [DBO]. [USP_GT_ABCFor User]  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -