Are there any way to stop typing 'go' in sqlcmd? If I remember correctly, last time Microsoft Sqlcmd require each command to end with ';' and hit Enter key to execute the command.

However, currently, we need to type the GO each time to execute the command.

So, are there other alternative such that when we hit Enter key after ending the command with ';', it will Execute the command?
No, you need to type a batch separator. The default is GO. However, you can change that by using the -c switch.

For example:

C:\&gt;sqlcmd -SServername -cFOO

1&gt; select @@version

hit enter

2&gt; FOO

hit enter

This will run.

Can't get rid of the intermediate enter for you. Sorry.