Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将查询结果导出到 txt 文件中,但没有字段分隔符
像这样:field1field2field3field4
如果我使用以结尾和可选包含的字段并将它们设置为'',我仍然会在字段之间获得某种选项卡...
我怎样才能得到正确的输出?
提前致谢...
你能试试像...
SELECT field1 || field2 || field3 AS answer FROM mytable;
或者,如果您的查询不是您想要过多摆弄的东西,
SELECT field1 || field2 || field3 AS answer FROM (other query in here) AS mytable;