質問

I installed the SQL Server 2012- Developer edition. When I apply SELECT @@version, I get: Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86) Dec 10 2010 10:56:29 Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 6.1 (Build 7601: Service Pack 1)

But when I go to help, then about, It shows that it's SQL Server 2012. I'm trying to use the EOMONTH function and I'm getting an error that the EOMONTH is unrecognizable built in function. Can anybody please help me understand what's going on? Thanks!I'm fairly new to T-SQL.

役に立ちましたか?

解決

You might be connecting to an instance of SQL Server 2005 from SSMS 2012.

Make sure you select correct server/instance while connecting to Database Engine.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top