Hi There
I need to know if the "perform translation for character data" odbc connection option is responsible for SET FMTONLY statements, i think it is but i cannot find 100% confirmation from knowledge base articles or various searches.
Secondly if this option is unchecked will it stop FMTONLY statements completely.
Thirdly if it is enabled, what is responsible for FMTONLY statements not having a where clause the odbc driver or the application using the odbc connection, i am sure it is the application but once again , i need confirmation.
Thank You

ODBC - FMTONLY
Billr17
http://support.microsoft.com/kb/836830/
FMTONLY is used by ODBC and OLE DB to get metadata for a query qithout actually executing the query. Sometimes the query would get executed and this would explain the long execution times you are seeing.
What versions of software are you using
Glenn Qiu
That is my issue.Millions of set fmtonly statements are being generated.
So this is directly application related
My issue is that no FMTONLY statements have where clauses, is this also application responsible
I have issues where sometimes a FMTONLY statements that normally takes 0 Duration takes 60-90 seconds, if you know about this please check out the TSQL forum for my question.
Do you have a good link or article about ODBC and specifically FTMONLY
Thank You
!Leonardo