【发布时间】:2012-11-29 17:46:24
【问题描述】:
正在处理目前如下所示的报告:
5 - Kirk Korver, UMKC
15 - Kendall Anthony, Richmond
Players With 30:
41 - Matt Staff, Texas State
我想让它看起来像下面这样:
5 - Kirk Korver, UMKC
15 - Kendall Anthony, Richmond
Players With 30:
41 - Matt Staff, Texas State
*notice how the dashes are in line
pl/sql 中是否有可以使用的内置函数?
【问题讨论】:
-
您通常可以在一种语言中执行此操作,方法是用空格向左填充结果,然后使用 RIGHT() 样式的函数从生成的填充字符串中提取右边的两个字符。我不知道 pl/sql 或有办法测试以确保我发布的任何内容都是正确的。也许其他人会这样做?