Software hobby
Wednesday, September 23, 2009
T-SQL (string manipulation)
Below is example of using string manipulation function of T-SQL to mask off part of content of a string
SUBSTRING(ui.userid,1,4)+'XXXX'+SUBSTRING(ui.userid,len(ui.userid)-3,4) as userid
userid will become "123XXXX456"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Labels
ASP.NET
(5)
C#
(3)
CDO
(1)
Crystal Report
(2)
e-Learning
(1)
HTTP POST
(2)
JavaScript
(1)
PKM
(1)
Tools
(1)
WorkFlow
(1)
About Me
Albert
View my complete profile
Objective
Maintain this blog for the purpose to record interest topics and hobby activities related to software programming, from database to Mobile Device Programming, from PKM to e-Learning.
Blog Archive
►
2010
(37)
►
November
(3)
►
October
(2)
►
May
(2)
►
April
(3)
►
March
(12)
►
February
(5)
►
January
(10)
▼
2009
(27)
►
December
(3)
►
November
(9)
►
October
(4)
▼
September
(6)
ASP.NET Web Site Setup
Knowledge Management (R&D validation)
SQL2005 (Data Migration)
Remove SQL2005 and Reporting Service
T-SQL (string manipulation)
SQL2005 setup
►
February
(4)
►
January
(1)
►
2008
(2)
►
May
(1)
►
April
(1)
Mobile News and Others
No comments:
Post a Comment