The following example shows how to create and execute a host-resident request with variables when in passthrough mode:
create request seltitle select * from titles where type = &vartitle and total_sales > &varsales
use request seltitle &vartitle=’psychology’ &varsales=2000
Copyright © 2005. Sybase Inc. All rights reserved. |