DotNet

Thursday, 10 November 2016

UDF SPLIT:

UDF SPLIT:


declare @a varchar(max)='1,2,3',@b varchar(max)='3,4,5'
select A.Value,B.Value from udf_split(@a,',') A 
left join udf_split(@b,',') B on A.ID=B.ID

 
Posted by AnilVilasagaram at 22:16
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

AnilVilasagaram
View my complete profile

Blog Archive

  • ►  2021 (1)
    • ►  July (1)
  • ►  2018 (2)
    • ►  March (1)
    • ►  February (1)
  • ►  2017 (1)
    • ►  March (1)
  • ▼  2016 (11)
    • ▼  November (11)
      • How to create a Database Backup File with sql Query
      • Abstract class
      • Difference Between Classic Asp and Asp.Net and Asp...
      • FB LINK
      • Abstract Class
      • Auto Service Example
      • UDF SPLIT:
      • Three Tier Project Example:
      • JQuery UI UseFul Site
      • ALLOW only Alphabates text Box Validation
      • Jquery Registration Page
Watermark theme. Powered by Blogger.