icase问题

编程入门 行业动态 更新时间:2024-10-26 13:20:20
本文介绍了icase问题 - 意外结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

所以我是我公司的软件技术支持代表,我在需要时进行数据分析和数据清理。我在使用SQL / FOX 程序时遇到了一些问题。使用FoxPro 9.

So I am a software technical support rep for my company, and I do data analysis and data cleanup when needed. I am having some issues with a SQL/FOX program. Using FoxPro 9.

CODE - > FoxPro / SQL UPDATE table1; SET datefield1 =; ICASE(; t1.datefield2 < CTOD("04/23/2018") AND t1.datefield2 > CTOD("01/01/1900") AND t2.datefield1 = ctod("") and t2.datefield2 = ctod("") and t2.datefield3 = ctod("") and t3.datefield1 = CTOD(""), t3.datefield2,; t1.datefield2 < CTOD("04/23/2018") AND t1.datefield2 > CTOD("01/01/1900") AND t2.datefield1 = ctod("") and t2.datefield2 = ctod("") and t2.datefield3 = ctod(""), t3.datefield1,; t1.datefield2 < CTOD("04/23/2018") AND t1.datefield2 > CTOD("01/01/1900") AND t2.datefield3 = ctod("") AND t2.datefield1 = ctod(""), t2.datefield2,; t1.datefield2 < CTOD("04/23/2018") AND t1.datefield2 > CTOD("01/01/1900") AND t2.datefield3 = ctod("") AND t2.datefield2 = ctod(""), t2.datefield1,; t1.datefield2 < CTOD("04/23/2018") AND t1.datefield2 > CTOD("01/01/1900") AND t2.datefield3 <> ctod(""), t2.datefield3,; t1.datefield1; ); from table1 t1; join table2 t2 on t1.key=t2.key; join table3 t3 on t3.key=t2.key; where t1.datefield2 BETWEEN CTOD("01/01/1900") and CTOD("04/23/2018") and t1.datefield1 = ctod("")

推荐答案

尝试以下 from table1 t1; join table2 t2 on t1.key=t2.key; join table3 t3 on t1.key=t3.key;

更多推荐

icase问题

本文发布于:2023-11-13 14:14:19,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584538.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:icase

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!