Using ColdFusion to Create a Data Source (UNIX only)
11
Date date,</P>
Descript char(254))
</cfquery>
<cfquery NAME=xs DATASOURCE="newtable">
INSERT INTO Beans1 VALUES (
1,</P>
’Kenya’,
’33’,
{ts ’1999-08-01 00:00:00.000000’},
’Round, rich roast’)
</cfquery>
<cfquery NAME=xs DATASOURCE="newtable">
INSERT INTO Beans1 VALUES (
2, ’Sumatra’,
’21’,
{ts ’1999-08-01 00:00:00.000000’},
’Complex flavor, medium-bodied’)
</cfquery>
<cfquery NAME=xs DATASOURCE="newtable">
INSERT INTO Beans1 VALUES (
3, ’Colombia’,
’89’,
{ts ’1999-08-01 00:00:00.000000’},
’Deep rich, high-altitude flavor’)
</cfquery>
<cfquery NAME=xs DATASOURCE="newtable">
INSERT INTO Beans1 VALUES (
4,</P>
’Guatamala’,
’15’,
{ts ’1999-08-01 00:00:00.000000’},
’Organically grown’)
</cfquery>
<cfquery NAME=xs DATASOURCE="newtable">
CREATE UNIQUE INDEX Bean_ID on Beans1 (Bean_ID)
</cfquery>
<cfquery NAME=""QueryTest2"" DATASOURCE="newtable">
SELECT * FROM Beans
</cfquery>
<cfoutput QUERY=""QueryTest2"">
#Bean_ID# #Name#<br>
</cfoutput>
</BODY>
</HTML>
Содержание COLDFUSION 5-ADVANCED ADMINISTRATION
Страница 1: ...Macromedia Incorporated Advanced ColdFusion Administration ColdFusion 5...
Страница 20: ......
Страница 56: ...38 Chapter 1 Advanced Data Source Management...
Страница 74: ...56 Chapter 2 Administrator Tools...
Страница 76: ......
Страница 86: ...68 Chapter 3 ColdFusion Security...
Страница 87: ...To Learn More About Security 69...
Страница 88: ...70 Chapter 3 ColdFusion Security...
Страница 130: ...112 Chapter 5 Configuring Advanced Security...
Страница 132: ......
Страница 154: ...136 Chapter 6 Configuring Verity K2 Server...
Страница 162: ...144 Chapter 7 Indexing XML Documents...
Страница 202: ...184 Chapter 8 Verity Spider...
Страница 236: ...218 Chapter 10 Verity Troubleshooting Utilities...
Страница 238: ......
Страница 348: ...330 Chapter 14 ClusterCATS Utilities...
Страница 349: ...Using sniff 331...
Страница 350: ...332 Chapter 14 ClusterCATS Utilities...
Страница 362: ...344 Chapter 15 Optimizing ClusterCATS...
Страница 372: ...354 Index...