-1
我的问题是;我如何使用:=
(在mysql中赋值)在delphi中工作?在delphi中使用@variable:= from mysql
这是我的例子:
create TEMPORARY TABLE if not EXISTS new
SELECT date, price, kat, tipe, ready, use,
if(tipe = '0', @x := use, (@x := @x - (ready-use)))as balance,
@result := ready + @x as HSL,
if (@result <=0, ready, [email protected]) as sata... and script complete..
我的问题是; delphi不能从mysql中除了:=
。
当然,整个字符串应该用引号括起来 - 在这种情况下,Delphi不会将=作为赋值运算符,而是将字符串中的两个字符视为赋值运算符。 – 2013-03-11 03:30:55
科巴帕克情况下,当di mysqlnya。 soalnya kalo itu masih berbentuk字符串查询bagaimanapun ga bisa diexec oleh delphi – AsepRoro 2013-03-11 04:45:20