我尝试使用SQL查询表达式初始化字符串:
myString = "SELECT * FROM t_package WHERE t_package.PackageFlags LIKE '*CheckedOutTo=*'""
我收到以下错误:Unterminated string constant.
有什么想法吗?
答案 0 :(得分:0)
只需删除最后一个“:
myString = "SELECT * FROM t_package WHERE t_package.PackageFlags LIKE '*CheckedOutTo=*'"