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

Rebuild Index

Exclude property of Class Object from Serialization

Multiple Connection from Config File