SUBSTR??????

SUBSTR????????????????????????????????????????????????????????????????????? ?????????????????????????????????????????????????????????VARCHAR????????????????????????VARCHAR FOR BIT DATA????????? ????????????????????????????????????????????????????????????

??????

SUBSTR({ ????????? },
   ???????????? [, ???????????? ] )

???????????????????????????????????????????????????????????????????????????????????? ??????????????????????????????????????????????????????1????????? ??????0???????????????????????????Derby???1?????????????????????????????????????????????

???????????????????????????CHAR???VARCHAR???LONG VARCHAR???????????????(????????????????????????)?????????????????????????????????????????????????????????????????????????????????

????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

??????????????????????????????????????????????????????????????????????????????????????????????????????????????????(??????????????????1??????????????????)??????????????????????????????????????????????????????

??????????????????????????????????????????????????????SUBSTR??????????????????????????????????????????????????????????????????????????????????????????????????????????????????SUBSTR????????????????????????????????????????????????VARCHAR????????????VARBIT?????????????????? ?????????????????????????????????????????????????????????SUBSTR????????????????????????????????????

???

hello????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
VALUES SUBSTR('hello', 2)
?????????'ello'??????????????????
hello?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
VALUES SUBSTR('hello',1,2)
?????????'he'??????????????????