problem with sql statement

If you are a Power Builder developer and have any questions about using our products from Power Builder here is the place to post them.
Post Reply
Posts: 3
Joined: Tue Jun 08 2004

problem with sql statement

Post by omri »

hello there,

i have a problem with the sql statement, when i want to recive a variable from out side i write(for example):

select ........
from .......
where :id

and it gives me an argument that used in the select is not defined.
plesae help me with that stupid thing .


carpe diem
Posts: 3
Joined: Tue May 03 2005
Location: Eugene


Post by markmazza »


If this is embeded SQL inside of a PB script you have end all SQL with a semicolon ; Try adding a semicolon after your Where clause

Post Reply