bal*_*dre 3 sql t-sql function sql-server-2008
我正试着没有任何运气想出一个通过的方法
Bruno Miguel Alexandre成为B. Miguel Alexandre
和
Bruno Alexandre成为B. Alexandre
只是在SQL中,所以我可以在Store Procedure中进行大查询
任何人都可以向我提供任何帮助吗?你们可能已经拥有的任何功能?
非常感激.
从空间中获取第一个角色+所有内容.8000是为了避免LEN呼叫
LEFT(MyValue, 1) + '.' + SUBSTRING(MyValue, CHARINDEX(' ', MyValue), 8000)
Run Code Online (Sandbox Code Playgroud)