1 | SQL statement with dynamic parameters: |
2 | |
3 | SELECT * FROM Employees |
4 | WHERE LastName = '#Form.LastName#' |
5 | |
6 | If the user entered "Rucker" for LastName, the SQL statement sent to the database would be: |
7 | |
8 | SELECT * FROM Employees |
9 | WHERE LastName = 'Rucker' |
10 | Syntax for cfm file to refer to parameters from the form: |