You are here: Re: SQL server 2005 Express - Vista - Invalid object name '#spdbdesc' « MsSQL Server « IT news, forums, messages
Re: SQL server 2005 Express - Vista - Invalid object name '#spdbdesc'

Posted by Erland Sommarskog on 04/02/07 21:50

(ianforgroupuse@hotmail.co.uk) writes:
> If I don't specify SET FMTONLY ON/OFF in my code is there a default
> state that I can rely on?

SET FMTONLY ON is usually submitted behind the scenes. ADO Classic
is notorious for doing this without being asked. ADO .Net is far more
well-behaved. But if you use CommandBehaviour.MetaDataOnly, there is a
SET FMTONLY sent to SQL Server.

> Is it the same for all SQL implementations?

It's the client API that gets the idea to issue SET FMTONLY ON, so the
version of SQL Server should not matter.

It could certainly help if you could post your code.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация