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

APPML
AppML 简介
AppML 案例
AppML 案例说明
AppML 网络服务
案例研究简介
案例研究:数据库
案例研究:AppML
案例研究:HTML 报告
案例研究:HTML 表单
案例研究:目录
案例研究:产品
案例研究:托运人
案例研究:供应商
案例研究:客户
案例研究:雇员
案例研究:应用程序
案例研究:下载
AppML FAQ
AppML 文档
AppML 数据库元素

APPML 中的 where


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 257 ::
收藏到网摘: 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

登陆 | 还没注册?