You are here: Re: Last Day Of Previous Month...with a twist « MsSQL Server « IT news, forums, messages
Re: Last Day Of Previous Month...with a twist

Posted by Chris.Cheney on 05/10/07 17:27

"Plamen Ratchev" <Plamen@SQLStudio.com> wrote in news:STG0i.9686$j63.2095
@newsread2.news.pas.earthlink.net:

> Although CURRENT_TIMESTAMP/GETDATE is listed as non-deterministic, it is
> deterministic at the statement level (it is evaluated only once per
> statement).
>
> Try this query on any large table:
>
> SELECT *, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP
> FROM AnyLargeTable
> WHERE CURRENT_TIMESTAMP = CURRENT_TIMESTAMP
> AND CURRENT_TIMESTAMP = CURRENT_TIMESTAMP
>
>
> Plamen Ratchev
> http://www.SQLStudio.com

I hoped that was the case - thanks for confirming it.

Chris

 

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

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