[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How does FMTONLY render so quickly....

Posted on 2011-02-14
4
Medium Priority
?
394 Views
Last Modified: 2012-05-11
How does FMTONLY render so quickly....

Does it run the query and then instantly kill the spid?
0
Comment
Question by:Mr_Shaw
  • 2
4 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 1000 total points
ID: 34886975
as by the specs:
http://msdn.microsoft.com/en-us/library/ms173839.aspx

only the metadata is send back to the client ... which means that the query itself is not run, only parsed to return the metadata.
0
 

Author Comment

by:Mr_Shaw
ID: 34886993
How does it compile to metadata?
0
 
LVL 50

Assisted Solution

by:Lowfatspread
Lowfatspread earned 1000 total points
ID: 34887088
thats not specified , in general it probably parses the statements to produce the list of column names
to be returned,,,
0
 

Author Closing Comment

by:Mr_Shaw
ID: 34887290
thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question