How to use TAB as column separator in SQLCMD

后端 未结 11 1260
后悔当初
后悔当初 2020-12-16 17:36

SQLCMD supports the -s parameter to specify the column separator, but I couldn\'t figure how how to represent the tab (CHAR(9)) character. I have tried the following but bo

11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-16 18:10

    I had this problem while trying to run sqlcmd on terminal. I got it working by entering a tab character (copying from text editor didn't work for me).

    Press cntrl + v then tab.

    How to enter a tab char on command line?

提交回复
热议问题