SQL Server Concat Feature

SQL Server Concat Feature

Concat  - feature allow to merge two string values. If value which are getting concat has null inside the same. All other content of that part will not get concat into string. 


This Good Feature when it come to  Concatation of String Value Specify Address When certain Part of value is not there it still shows Comma

Select Concat('Switin ' ,  ',' +  'G'  +   ','  , ' Kotian'), Concat('Switin ' ,  ', ' +  NULL  +   ', '  , 'Kotian')    




In Case of NULL The Comma is not appearing. 

Comments

Popular posts from this blog

Shared / Static Class in vb.net/C#

Xamarin Forms - Change Colour of Navigation Bar (Page Title For Master-Detail Template)

Xamarin Forms : PopUp Page with RG.Plugins.Popup