By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version() |
---|
5.7.35 |
SUBSTRING(@str,0,INSTR(@str,';')) |
---|
SUBSTRING(@str,1,INSTR(@str,';')) |
---|
abc; |
found |
---|
4 |
version() |
---|
5.7.35 |
SUBSTRING(@str,0,INSTR(@str,';')) |
---|
SUBSTRING(@str,1,INSTR(@str,';')) |
---|
abc; |
found |
---|
4 |