Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

execute as - equivalents in SQL 2000

Posted on 2010-09-09
4
317 Views
Last Modified: 2012-05-10
is there any provision like "execute as" in the older version?

what would be a possible alternative?

thanks
0
Comment
Question by:anushahanna
  • 2
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
Jason Yousef, MS earned 500 total points
ID: 33639026
Hello,

execute as was added in SQL 2005, sql 2000 is so limited !

http://msdn.microsoft.com/en-us/library/ms188354.aspx

Hope that helps.
Thanks
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33639270
any alternatives possible in SQL 2000?
0
 
LVL 21

Assisted Solution

by:Jason Yousef, MS
Jason Yousef, MS earned 500 total points
ID: 33639349
I don't think so, and can't find anything online

http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/7db63373-8676-4a92-ac63-6575cbea4c94

but I think you can use  OPENQUERY as a loopback to itself  

SELECT * FROM OPENQUERY (ServerName, 'EXEC db.dbo.SPExample')
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33639431
Thank you.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question