Skip to content

Commit 84c3708

Browse files
authored
Merge pull request #258 from microsoft/apoorvdeshmukh/217
Fix @Version typo
2 parents 747b45d + fa97e9d commit 84c3708

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/modern/root.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
package main
55

66
import (
7+
"runtime"
8+
79
"github.com/microsoft/go-sqlcmd/cmd/modern/root"
810
"github.com/microsoft/go-sqlcmd/internal/cmdparser"
911
"github.com/microsoft/go-sqlcmd/internal/config"
10-
"runtime"
1112
)
1213

1314
// Root type implements the very top-level command for sqlcmd (which contains
@@ -31,7 +32,7 @@ func (c *Root) DefineCommand(...cmdparser.CommandOptions) {
3132
steps = append(steps, "sqlcmd open ads")
3233
}
3334

34-
steps = append(steps, `sqlcmd query "SELECT @version"`)
35+
steps = append(steps, `sqlcmd query "SELECT @@version"`)
3536
steps = append(steps, "sqlcmd delete")
3637

3738
examples := []cmdparser.ExampleOptions{{

0 commit comments

Comments
 (0)