我有一个原始的SQL脚本需要种子数据库。如果我进入一个SQL shell并运行该命令,它可以正常工作。当我从Flask运行它时,我得到一个错误:
(1064, "You have an error in your SQL syntax; check the manual that corresponds
和标题建议一样,我想问,除了在ASP.NET中使用dataset或datatable之外,还有其他方式存储数据库中的数据吗? Public Function openDataTable(ByVal query As String) As DataTable If con.State <> ConnectionState.Closed Then con.Close() dt = New DataTable
adap = New SqlDataAdapter