DECLARE @somestring as nvarchar(50) = 'test,value';
select left(@somestring,CHARINDEX(',',@somestring)-1)
My professional notes on programming. Included in my notes are discussions on VB.NET, Microsoft Office, and some C#. I am just starting to learn about C# so as I learn more I will add more.
No comments:
Post a Comment