Collections:
Testing Local Temporary Stored Procedures in SQL Server
Can Another User Execute Your Local Temporary Stored Procedures in SQL Server Transact-SQL?
✍: FYIcenter.com
Can another user execute your local temporary stored procedures? The answer is no.
To test this out, continue with the exercise from the previous tutorial. Keep that user session running and open a new client session with sqlcmd.exe. Then run the tutorial script below:
-- Executing permanent procedure -- created by another user session EXECUTE Hello 'fyicenter.com'; GO Welcome to moc.retneciyf -- Executing local temporary procedure -- created by another user session EXECUTE #Hello 'fyicenter.com'; GO Msg 2812, Level 16, State 62, Line 1 Could not find stored procedure '#Hello'.
⇒ Using User Defined Functions in SQL Server Transact-SQL
⇐ Creating Local Temporary Stored Procedures in SQL Server
2016-12-28, 2088🔥, 0💬
Popular Posts:
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...
What Is an Oracle Tablespace in Oracle? An Oracle tablespace is a big unit of logical storage in an ...
Can You Drop an Index Associated with a Unique or Primary Key Constraint in Oracle? You can not dele...
What Is a Dynamic Performance View in Oracle? Oracle contains a set of underlying views that are mai...
What is test testing area for? The testing area is provided to allow visitors to post testing commen...