View ColdFusion Source code

This example creates a memory table and inserts data from #State# into it through the use of a stored procedure.

The advantage here is that the stored procedure also has an audit.

StateIDStateName
1Alaska
2Alabama
3Indiana
4Illinois
5Idaho
6Hawaii
7Georgia
8Florida
9Iowa
10Delaware
11Connecticut
12Colorado
13California
14Arizona
15Arkansas
16New Hampshire
17Nevada
18Nebraska
19Montana
20Missouri
21Mississippi
22Minnesota
23Michigan
24Massachusetts
25Maryland
26Maine
27Louisiana
28Kentucky
29Kansas
30New Jersey
31Tennessee
32South Dakota
33South Carolina
34Rhode Island
35Pennsylvania
36Oregon
37Oklahoma
38Ohio
39North Dakota
40North Carolina
41New York
42New Mexico
43Texas
44Wisconsin
45West Virginia
46Washington
47Virginia
48Vermont
49Utah
50Wyoming
51District of Columbia

Also check out: CFM Zen Garden, and jQuery Zen Garden.

Database: Phillip Senn
Design: Ryan Carroll