Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

SET FMTONLY ON AND EXEC() AT LINKEDSERVER

$
0
0

Hello my friends.

I trying use EXEC('') AT LinkedServer statement.

The command executes sucessfully on my remote server, and return my data normarly...

The problem was when add the "SET FMTONLY ON" command.  When i do this, the exec seems don't works. If i put a linked server that not exists, the EXEC() AT run sucessfully. If a put a query inside EXEC with incorrect syntax, the command also runs sucessfully.

I need this because i have a solution that works (SQL 2005 + Win Server 2003).I need that command works under FMTONLY ON.

Someone knows what may happens?

Thanks!!!


[]'s | Rodrigo Ribeiro Gomes | MCTS/MCITP Dev/DBA


Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>