【发布时间】:2017-06-19 10:51:25
【问题描述】:
我可以在此 SQL 和拆分列字符串方面获得一些帮助吗?
我此刻得到的输出
ID_Reference | Balance
203587 -902
203948 -111
我需要的输出:
ID_Reference | Balance
203587 902
203948 111
我使用的代码如下:
select AccountReference,CurrentBalance from SB_RentAccountBalances_V where CurrentBalance like '-%'
谢谢,
【问题讨论】:
-
我假设你使用的是 SQL Server,所以我添加了一个标签。
标签: sql sql-server split ssms