where 条件的另类写法
2009-01-14 15:07
155 查看
有是需要几个字段联合起来做条件,可以使用以下方法:
static void AX_Sql(Args _args)
{
PurchLine purchLine;
while select purchLine
where purchLine.PurchPrice + purchLine.LineAmount == 18
{
info(strfmt("%1,%2,%3",purchLine.PurchId,purchLine.ItemId,purchLine.QtyOrdered));
}
}
static void AX_Sql(Args _args)
{
PurchLine purchLine;
while select purchLine
where purchLine.PurchPrice + purchLine.LineAmount == 18
{
info(strfmt("%1,%2,%3",purchLine.PurchId,purchLine.ItemId,purchLine.QtyOrdered));
}
}
相关文章推荐
- MySQL左外连接where条件包含多表写法
- 代码编写注意_(IIF,SQL语句的WHERE条件写法)
- MySQL左联多表查询where条件写法示例
- select 中where 条件的技巧写法(where 1=1 and ....)
- Magento collection filtering 嵌套where条件的简单写法
- ThinkPHP 查询where条件的like写法。
- MySQL左联多表查询where条件写法示例
- Mybatis 不确定条件查询(动态语句where和if)借助实体类封装参数
- 合计函数无法和where条件一起使用
- Mybatis mapper.xml 判断条件写法注意
- python 中 MySQLdb 操作数据库,查询条件为元组时写法。
- SQL中的where条件,在数据库中提取与应用浅析
- 20、MySQL-带条件查询(WHERE)
- SQL_where条件的优化
- SQL中on条件与where条件的区别
- oracle如何在where条件中写日期?
- 针对主流浏览器的CSS-HACK写法及IE常用条件注释
- SQL中on条件与where条件的区别 (having)
- oracle 当中where条件
- RC隔离 更新where条件列 没有索引的情况