VBScript初始化字符串

时间:2014-07-20 08:43:34

标签: sql string vbscript

我尝试使用SQL查询表达式初始化字符串:

myString = "SELECT * FROM t_package WHERE t_package.PackageFlags LIKE '*CheckedOutTo=*'""

我收到以下错误:Unterminated string constant.

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

只需删除最后一个“:

myString = "SELECT * FROM t_package WHERE t_package.PackageFlags LIKE '*CheckedOutTo=*'"