SQL statement with dynamic parameters: |
SELECT * FROM Employees |
WHERE LastName = '#Form.LastName#' |
If the user entered "Rucker" for LastName, the SQL statement sent to the database would be: |
SELECT * FROM Employees |
WHERE LastName = 'Rucker' |
Syntax for cfm file to refer to parameters from the form: |