How to Execute 2 or more insert statements using CFQuery in coldfusion?

前端 未结 6 1396
予麋鹿
予麋鹿 2021-01-13 08:29

Is it possible to Execute 2 insert or Update Statements using cfquery?

If yes how?

if no, what is the best way to execute multiple queries in Co

6条回答
  •  [愿得一人]
    2021-01-13 08:47

    the mySQL driver in CF8 does now allow multiple statements. as Sam says, you can use to group many statements together or in the coldfusion administrator | Data & Services | Data sources, add allowMultiQueries=true to the Connection String field

提交回复
热议问题