Re: IDENT_CURRENT and empty table



Erland Sommarskog (esquel@xxxxxxxxxxxxx) writes:
> helmut woess (hw@xxxxxx) writes:
>> Am Sun, 18 Sep 2005 17:58:46 GMT schrieb Dan Guzman:
>>> http://support.microsoft.com/default.aspx?scid=kb;en-us;835188
>>
>> Hmmm, i am not sure what to do with this information. If it is a bug why
>> was it not fixed in one of the next service packs?
>> And there is no definition what the result will be after fixing the bug.
>> And i did not find any information if this bug is fixed in SQL2005.
>
> The behaviour is the same in SQL 2005.
>
> But the funny thing is that Books Online for SQL 2005 explicitly says that
> you should get NULL back in this case...

Got an update: Books Online for 2005 is wrong and will be updated.
The current behaviour will not change, because it could cause compatibility
issues.

--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp

.



Relevant Pages

  • Re: SQL Server 2005 / securityadmin role / SSMS
    ... I was a little uncertain what to file a bug for, ... What's the point with being permitted to change logins, ... and I also sent in feedback on the topic in Books Online. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ...
    (comp.databases.ms-sqlserver)
  • Re: Grant access to applications only
    ... but to deny a direct user login e.g. via management studio. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: ALTER PARTITION FUNCTION PartFunc() MERGE RANGE & blocking
    ... I hope MS fix this livelock problem in the next service pack. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: sorting twice?!
    ... So I run a query to select the top 20 when ordered by datemodified ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: Rolling up spans without breaks between them
    ... CREATE TABLE periods (start datetime NOT NULL, ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)