sql语句中不能直接包含变量。应该用&将其连接成字符串。比如user为字符串变量,则sql= "insert into operator values("&user&")"