C:\Documents and Settings\78>sqlcmd -S.
1> select @@version;
2> go
-------------------------------------------------------------
Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (Intel X86)
Jul 9 2008 14:43:34
Copyright (c) 1988-2008 Microsoft Corporation
Enterprise Edition on Windows NT 5.1 <X86> (Build 2600: Service Pack 3)
(1 行受影响)
1> exit
C:\Documents and Settings\78>sqlcmd -S 1234\MSSQIN
1> select @@version;
2> go
-------------------------------------------------------------
Microsoft SQL Server 2000 - 8.00.194 (Intel X86)
Aug 6 2000 00:57:48
Copyright (c) 1988-2000 Microsoft Corporation
Personal Edition on Windows NT 5.1 (Build 2600: Service Pack 3)