i have a string like this:
DECLARE @val nvarchar(max)
set @val='id=1 and Name=abc and Address=NY and age=32'
Now i need to cut the string only upto the end of first and.here id length can be 1-100000.So i can fixed a length.
Current situation: id=1 and Name=abc and Address=NY and age=32
Expected result: Name=abc and Address=NY and age=32
Thanks in advance
Other Links