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, 1853🔥, 0💬
Popular Posts:
How To Install PHP on Windows in MySQL? The best way to download and install PHP on Windows systems ...
Where Is the Export Dump File Located in Oracle? If you are not specifying the dump directory and fi...
What Is a Parameter File in Oracle? A parameter file is a file that contains a list of initializatio...
Where to find tutorials to answer some frequently asked questions on Microsoft SQL Server Transact-S...
How To Enter Unicode Character String Literals in SQL Server Transact-SQL? Unicode characters are mu...