﻿-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date, ,>
-- Description:	<Description, ,>
-- =============================================
CREATE FUNCTION [dbo].[strings_removeLeading0]
(
	@Data NVARCHAR(MAX)
)
RETURNS nvarchar(max)
AS
BEGIN
	DECLARE @ret nvarchar(max) = SUBSTRING(@Data, PATINDEX('%[^0]%', @Data), LEN(@Data));

	RETURN @ret;

END