troubleshooting Question

help with these scenarios?

Avatar of tech_question
tech_question asked on
Microsoft SQL Server
4 Comments1 Solution279 ViewsLast Modified:
1) CREATE PROCEDURE GetEmployee (@EmpID int) AS
   SELECT * FROM Employee WHERE EmployeeID = @EmpID
In a database, there are three identical tables named Employee: one owned by the dbo, one by A, and the other by B. A creates the a stored procedure(above) and grants B EXECUTE.  Which table is used when B executes the stored procedure?  

2)update MyTable
set ColA = ColA + ColB  
  While executing the above statement, the SQL Server fails due to a power outage when only half of the rows in MyTable are updated.  What happens when the server is brought back up?  

3) What effect does the WITH ENCRYPTION clause have on an ALTER TRIGGER statement?  

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros