如果修改查询,我的应用程序无法启动;
此查询的应用程序正常运行:
String query_str = "SELECT * FROM [" + TAdvert_table + "] WHERE [Country]='GLOBAL' AND [Viewed] IS NULL";
并且应用程序无法通过修改查询启动:
String query_str = "SELECT * FROM [" + TAdvert_table + "] WHERE ([Country]='GLOBAL' AND [Viewed] IS NULL) AND ([DateStart]=cast('"+Cdate+"' as DATE))";