SQLiteFunction Simple Not Working(SQLiteFunction 简单不起作用)
问题描述
我试图从我的 C# 和 ADO.NET 代码中使用 SQLiteFunction.谁能说出我为什么会遇到这个问题?
I an attempting to use a SQLiteFunction from my C# and ADO.NET code. Can anyone say why I get this problem?
System.Data.SQLite.dll 中出现System.Data.SQLite.SQLiteException"类型的未处理异常附加信息:DEMOIT"附近的 SQLite 错误:语法错误
An unhandled exception of type 'System.Data.SQLite.SQLiteException' occurred in System.Data.SQLite.dll Additional information: SQLite error near "DEMOIT": syntax error
我正在使用带有 SQLite ADO.NET 1.0.65 的 .NET 3.5 x86 - 帮助!
I am using .NET 3.5 x86 with SQLite ADO.NET 1.0.65 - Help!
谢谢!
推荐答案
DEMOIT 是一个函数,但你把它当作一个运算符来使用.试试这个:
DEMOIT is a function, but you are using it as if its an operator. Try this:
或:
我旧项目的示例 http://war3share.codeplex.com/ :
SQL:
代码:
这篇关于SQLiteFunction 简单不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!