stevemiles
IS-IT--Management
I'm running into an issue where a stored procedure reverses the order of my print statements in its output - but only when it is run remotely. I've included a simplified example below.
Both servers are MSSQL 7.0.
Any help or thoughts are appreciated
CREATE PROC spTest AS
PRINT "a"
PRINT "b"
GO
-- executed locally
exec spTest
/*
Output is:
a
b
*/
-- executed remotely
exec Server.DB.User.spTest
/*
Output is:
b
a
*/
Both servers are MSSQL 7.0.
Any help or thoughts are appreciated
CREATE PROC spTest AS
PRINT "a"
PRINT "b"
GO
-- executed locally
exec spTest
/*
Output is:
a
b
*/
-- executed remotely
exec Server.DB.User.spTest
/*
Output is:
b
a
*/