sql remove 0 in ;01; code example Example: sql server remove 0 from left SUBSTRING(str_col, PATINDEX('%[^0]%', str_col+'.'), LEN(str_col))