Yes you can, but it only lasts for the duration of the connection. You need to use the EXECUTE AT syntax;
EXECUTE('SELECT * INTO ##example FROM sys.objects; WAITFOR DELAY ''00:01:00''') AT [SERVER2]
In SERVER2 it will work (within 1 minute):
SELECT * FROM
but it will not work on the local server. Incidentally, if you open a transaction on a second server that uses the ## example, the object remains until the transaction is closed. It also stops the create statement on the first server. that is, on server2, and the transaction on server1 will continue indefinitely.
BEGIN TRAN SELECT * FROM
This is more practical than practical use!
Stuart
source share