这个函数尝试关闭以前打开的数据库连接。
This function attempts to close the previously opened database connection.
〇为数据库启用了自动关闭的选项时,排序规则列会导致该问题。
The Collation column causes the issue when the Auto Close option is enabled for databases.
因为在于数据库交互时,打开以及关闭数据库的开销是非常昂贵的,您应该将您的数据库连接放在池中并且能重新使用。
Since opening and closing the connection is the most expensive part of interacting with a database, you will want to pool and reuse your database connection.
应用推荐