Perl DBI without accessing the database

前端 未结 6 1938
悲哀的现实
悲哀的现实 2021-01-18 16:08

I\'m creating a set of SQL INSERT statements for a database that doesn\'t exist yet, and I\'m saving them to file.

How can I use Perl\'s powerful DBI m

6条回答
  •  星月不相逢
    2021-01-18 16:41

    You can also use:

    DBD::_::db->quote()
    

    To access the quote function without setting up a database handle. I don't believe it is specific to MySQL though.

提交回复
热议问题