trying to select some field from a Sybase Database, see below for my piece of code, the select statement is not returning any record if AND is use. How can I resolve this, any help. See code below;
SELECT * from nitel_bill_payment where sequence_number = " &pcode& " AND bill_number = "&bill&"
where &pcode& and &bill& are textboxes name