Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一种通过winform应用程序创建查询以查询Oracle数据库但忽略数据大小写的方法。这是否可以在无需修改 Oracle 本身的任何内容的情况下完成?
您可以简单地全部大写或小写:
SELECT Columns From Table WHERE UPPER(ColName) = :UpperValue
然后ToUpper在值上使用:
ToUpper
yourOracleCommand.Parameters.AddWithValue("UpperValue", value.ToUpper())