zoukankan      html  css  js  c++  java
  • 选择表达式

    条件表达式
       switch (op.ToLower())
                {
                    case "add":
                        return " + ";
                    case "bitwiseand":
                        return " & ";
                    case "bitwisenot":
                        return " ~ ";
                    case "bitwiseor":
                        return " | ";
                    case "bitwisexor":
                        return " ^ ";
                    case "divide":
                        return " / ";
                    case "equal":
                        return " = ";
                    case "greater":
                        return " > ";
                    case "greaterorequal":
                        return " >= ";
                    case "isnull":
                        return " is null ";
                    case "isnotnull":
                        return " is not null ";
                    case "less":
                        return " < ";
                    case "lessorequal":
                        return " <= ";
                    case "like":
                        return " like ";
                    case "startwith":
                        return " like ";
                    case "endwith":
                        return " like ";
                    case "modulo":
                        return " % ";
                    case "multiply":
                        return " * ";
                    case "notequal":
                        return " <> ";
                    case "subtract":
                        return " - ";
                    case "and":
                        return " and ";
                    case "or":
                        return " or ";
                    case "in":
                        return " in ";
                    case "notin":
                        return " not in ";
                    default:
                        return " = ";

    萌橙 你瞅啥?
  • 相关阅读:
    servlet生命周期总结
    两周找工作有感
    PowerBuilder中新建PBL
    oracle navicat 可视化操作进行数据的修改
    oracle for update for update nowait
    表中字段为关键字,查询字段加引号
    愿你
    oracle安装注意
    随笔
    JeeSite功能模块解读,功能介绍,功能实现
  • 原文地址:https://www.cnblogs.com/daimaxuejia/p/6831299.html
Copyright © 2011-2022 走看看