suppose OneLineText is a string Don't forget to check the index or it could be out of range! Lenthg checking must performe at first rather than access the char in the string or the string will be also out of range! The following will be out of range because it may acces the character out of the rang before it check the boundary. ==========================================...[ 查看全文 ]
我们到目前为止所谈到的SQL语句相对较为简单,如果再能通过标准的recordset循环查询,那么这些语句也能满足一些更复杂的要求。不过,何必非要拘泥在浅尝则止的基础水准之上呢?你完全可以再增加其他一些符号,比如AND、 OR和NOT来完成更强大的功能。 以下面的SQL语句为例: SQL ="SELECT c_firstname, c_lastname, c_email FROM customers WHERE c_email IS NOT NULL AND c_purchase = '1' OR c_purchase =...[ 查看全文 ]