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 : PopUp Page with RG.Plugins.Popup

Text was truncated or one or more characters had no match in the target code page.". (SQL Server Import and Export Wizard)