Whatever message this page gives is out now! Go check it out!
SELECT * FROM Employee
ORDER BY LastName
</cfquery>SQL code...
</cfquery>AlwaysReportTriggerResults=true |
<head>
<title>Employee List</title>
</head>
<body>
<h1>Employee List</h1>
<cfquery name="EmpList" datasource="cfdocexamples">
SELECT FirstName, LastName, Salary, Contract
FROM Employee
</cfquery>
</body>
</html>Code | Description |
<cfquery name="EmpList" datasource="cfdocexamples"> | Queries the database specified in the cfdocexamples data source. |
SELECT FirstName, LastName, Salary, ContractFROM Employee | Gets information from the FirstName, LastName, Salary, and Contract fields in the Employee table. |
</cfquery> | Ends the cfquery block. |