-1

我的问题是;如何使用:=(在 mysql 中赋值)在 delphi 中工作?

这是我的例子:

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, ready+@x) as sata... and script complete..

我的问题是;delphi 只能:=来自 mysql。

4

1 回答 1

3

如果您需要使用“:”,请将 Paramcheck 设置为 false。

于 2013-03-11T05:57:51.100 回答