How to know which version
1.Microsoft SQL Server 2008.(Express)
2.Microsoft SQL Server 2012.(Express)
Both installed on my machine,am I running(using)?

Execute the query

SELECT @@VERSION

You'll get back something like

Microsoft SQL Server 2008 (SP3) - 10.0.5500.0 (Intel X86)   Sep 22 2011 00:28:06   Copyright (c) 1988-2008 Microsoft Corporation  Express Edition on Windows NT 6.1 <X86> (Build 7601: Service Pack 1) 

Thanks it was very helpful .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.