How to split comma separated string inside stored procedure?

后端 未结 6 1590
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-16 23:41

How to split comma separated string into strings inside store procedure and insert them into a table field?

Using Firebird 2.5

6条回答
  •  被撕碎了的回忆
    2020-12-17 00:05

    Use POSITION http://www.firebirdsql.org/refdocs/langrefupd21-intfunc-position.html

    and

    SUSTRING http://www.firebirdsql.org/refdocs/langrefupd21-intfunc-substring.html

    functions in WHILE DO statement

提交回复
热议问题