If you are having problems with Visual Studio Database Edition showing you duplicate command lines, you have a situation where you have the base product and the GDR installed at the same time. This is what the symptom looks like:
This blog post explains the correct version numbers:
https://blogs.msdn.com/gertd/archive/2009/07/29/vsdb-2008-version-numbers.aspx
Here’s how you take care of it. Close all instances of VS 2008. Open an elevated command prompt. On a 32 bit platform, enter the following command:
"%ProgramFiles%\Microsoft Visual Studio 9.0\DBPro\DBProRepair.exe" RemoveDBPro2008”
On a 64 bit platform, enter the following command:
"c:\Program Files (x86)\Microsoft Visual Studio 9.0\DBPro\DBProRepair.exe" RemoveDBPro2008”
Now restart VS 2008 and all should be well.
[...] seems, after a brief search of the blogosphere, that this is easily resolved by running the following command with elevated privileges on a [...]