Placeholder Syntax
The DB Access Module for Sybase uses host-variable format for binding program variables to the Client-Library. When input parameter values are provided through binding for
RWDBOSql objects, applications must use proper placeholder syntax in their SQL statements. The proper placeholder syntax for host-variable format is
@something, where
something must be a unique string among the placeholders within an SQL statement. For example, here is the SQL statement to insert data through binding into a 2-column table named
mytable:
insert into mytable values (@col1, @col2)
Placeholder syntax is not a portable feature. Different Access Modules use different placeholder syntax.