ใช้ select concat("-", xxxx) as cc from table ครับ
ใช้ select concat("-", xxxx) as cc from table ครับ
ใส่เข้าไปใน Variable เลยใช่ไหมคับ
memo1.text:=GetListFromQuery('select risk_name from check_group where check_group.group in ( "'+DBPipeline['name14']+'","'+DBPipeline['name15']+'","'+DBPipeline['name16']+'","'+DBPipeline['name17']+'","'+DBPipeline['r4']+'","'+DBPipeline['r5']+'","'+DBPipeline['r7']+'","'+DBPipeline['r8']+'" )');
ติด ERROR คับ