?
Solved

execute as - equivalents in SQL 2000

Posted on 2010-09-09
4
Medium Priority
?
322 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
[X]
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
  • 2
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
Jason Yousef, MS earned 2000 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 2000 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

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

770 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