Sybase BCP 输出空值

Sybase BCP out with null values

有没有办法让 BCP 输出 return NULL 值而不是空白

当前输出:

'apse0420', '', '2', '2'

我想要的:

'apse0420', 'NULL', '2', '2'

BCP 输出代码:

bcp <db>..<table> out test.txt -S <server> -U <username> -P <password> -c -t ", " -r "\n"

从 table 创建视图并将 NULL 列转换为字符串 'NULL'。 BCP 出视图