M-x sql-ms
error in process filter: sql-interactive-remove-continuation-prompt: Wrong type argument: stringp, nil
最后出现这个错误。
Debugger entered–Lisp error: (wrong-type-argument stringp nil) string-match(nil “/usr/local/bin/osql: illegal option – d\nSyntax: osql -S server -U user -P password\n”) sql-interactive-remove-continuation-prompt(“/usr/local/bin/osql: illegal option – d\nSyntax: osql -S server -U user -P password\n”) comint-output-filter(# “/usr/local/bin/osql: illegal option – d\nSyntax: osql -S server -U user -P password\n”) accept-process-output(# 0.3) sql-product-interactive(ms nil) sql-ms(nil) funcall-interactively(sql-ms nil) call-interactively(sql-ms record nil) command-execute(sql-ms record) execute-extended-command(nil “sql-ms” “sql-ms”) funcall-interactively(execute-extended-command nil “sql-ms” “sql-ms”) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command)
这个是调试出现的。