I have this which works:
sqlString = \"SELECT * FROM employees WHERE lastname = \'\" & last_name & \"\'\" Set cmd = Server.CreateObject(\"ADODB.Comma
The easiest is using stored procedures in SQL and using Commands that way.. Otherwise, you have to escape out certain characters being gathered from the Request object, like single quotes and double hyphens, etc.