Hello use this.
I have to made an SP to split a string character.
I hope that be useful,
Greetings.
CREATE PROCEDURE SP_STRING_SPLIT (@String varchar(8000),@Separator Char(10),@pos_select int=0)
AS
BEGIN
SET NOCOUNT ON
DECLARE @Caracter varchar(8000)
DECLARE @Pos int
Set @Pos=1
Set...