当前位置: 首页 > 网络学院 > 客户端脚本教程 > APPML > where

APPML
AppML HTML 报告
AppML 过滤函数
AppML HTML 列表
AppML HTML 表单
AppML XML 报告

APPML 中的 where


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 258 ::
收藏到网摘: n/a

The <where> element defines a fixed WHERE clause to be added to the SQL every time the application runs.
<where>元素定义了一个固定的WHERE子句,并在应用程序每次运行时将其添加到SQL查询语句中。


Example
案例

<?xml version="1.0" ?>
<appml>
<title>CUSTOMERS</title>
<database>
<connection>northwind</connection>
<sql>SELECT Companyname,ContactName,Country
FROM Customers</sql>
</database>
<filters>
<where>Country='Germany'</where> </filters>
<htmlreport />
</appml>

View the output produced by the AppML HTML List Service
查看由AppML HTML 报告服务输出的结果

View the XML source file
查看XML 源文件

评论 (0) All

登陆 | 还没注册?