大家看看这个sql语句有什么问题!!!! str1:='select * from kongtiao where country = '''+德国+''''; sql.add(str1); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 str1:='select * from kongtiao where country = ''''+德国+'''''; sql.clear; sql.add(str1); 语句没问题str1:='select * from kongtiao where country = '''+德国+'''';sql.clear; sql.add(str1); 对不起有问题请改为:str1:='select * from kongtiao where country = '''+'德国'+'''';sql.clear; sql.add(str1); 如果country 是字符串类型,没有问题,建议写成:str1:='select * from kongtiao where country = '+#39+'德国'+#39; sql.clear; sql.add(str1); 应改为:str1:='select * from kongtiao where country = '''+'德国'+''''; sql.add(str1); sql.add(QuoteStr(select * from kongtiao where country ='德国')) strl:='select * from kongtiao where country=" '+'德国'+' " '; sql.add)strl); 从木马程序看网络安全 同时连接多个DB在DELPHI是否可以做到??? 求一个sql的查询语句!~进来看一下吧,谢谢 监控程序? 如何保存两个label前置和后置的顺序? [Microsoft][ODBC SQL Server Driver]连接占线导致另一个hstmt. 今天我的第一个com+/MTS的程序可以运行了。。。。 pwl密码文件怎样查看???? cxSpreadsheetbook的使用 关于Delphi中的传输问题 odbc 急:FastReport 2.47中,不能将TfrRichView改为透时背景(将其FillColor属性改为clTransparent不起作用)。
sql.clear;
sql.add(str1);
str1:='select * from kongtiao where country = '''+德国+'''';
sql.clear;
sql.add(str1);
有问题请改为:
str1:='select * from kongtiao where country = '''+'德国'+'''';
sql.clear;
sql.add(str1);
str1:='select * from kongtiao where country = '+#39+'德国'+#39;
sql.clear;
sql.add(str1);
str1:='select * from kongtiao where country = '''+'德国'+'''';
sql.add(str1);
sql.add)strl);