Pages

Sunday, 6 January 2013

SET FMTONLY in SQL Server

It returns only SQL table definition to user. It can be used to test the format of the response without actually running the query. It returns the column information only; no rows of data are returned.

Syntax: SET FMTONLY { ON | OFF }

1) SET FMTONLY ON Example:














2) SET FMTONLY OFF Example:




No comments:

Post a Comment