Difference between substring in Postgresql

后端 未结 1 1599
予麋鹿
予麋鹿 2021-01-23 22:26

I was checking the PostgreSQL Manual the last days and I have noticed that substring() is explained there with substring(\'string\' FROM [int] FOR [int]).

I

相关标签:
1条回答
  • 2021-01-23 23:00

    SUBSTRING(char_exp FROM start_position [FOR length]) syntax is part of SQL-92 standard and you are encouraged to use it.

    This syntax also works in MySQL.

    0 讨论(0)
提交回复
热议问题