SQL SUBSTRING vs RIGHT - Best Practice

后端 未结 4 1273
日久生厌
日久生厌 2021-02-07 00:06

I\'m trying to find out the best practice when removing characters from the start of a string.

In some languages, you can use MID without a length parameter however, in

4条回答
  •  花落未央
    2021-02-07 00:28

    I use the second SUBSTRING because it is more portable. Not all dbms had LEFT and RIGHT.

提交回复
热议问题