从字符串中提取多个元素

时间:2016-01-22 16:17:08

标签: sql sql-server

Stackoverflow的优秀人才 我有一个由自动生成的字符串组成的SQL列。我需要从此字符串中提取数字值以插入新列以供参考。从来没有像以前那样操纵过这样的字符串,但是我真的很感激我能得到的任何帮助。 我已经对我想要的东西进行了嘲弄 - 最左边的文字"列是我想要缩减到后面的列。注意我已将字符串放在SQL''中,它们不是字符串的一部分:

Text Column                                                                                                                                                     ReserveFrom  ReserveTo  PaymentFrom   paymentTo
'Scheme ELS updated. Reserve Authority Level changed from: 11000000.00 to: 8000000.00.'                                                                           11000000    8000000 
'Scheme CNST updated. Payment Authority Level changed from: 8000000.00 to: 10000000.00. Reserve Authority Level changed from: 8000000.00 to: 10000000.00.'        11000000    8000000     11000000     8000000
'Scheme ELS updated. Payment Authority Level changed from: 350000.00 to: 100000.00. '                                                                                                       350000      100000

这是文本列的三种排列。

1 个答案:

答案 0 :(得分:0)

[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple, InstanceContextMode = InstanceContextMode.Single)]
相关问题