...Incorrect syntax near '='. 低级问题
来源:互联网 发布:windows ftp linux 编辑:程序博客网 时间:2024/05/18 01:08
晕 为了 这个问题 搞了一下午 找便了 所有的sql语句 没错呀 怎么能提示说我=号附近语法有错误呢 我靠 直接调试吧 结果忘记写表名了 晕猴
大家要是以后遇见了 这种问题 在出现这个异常的 前后找一下 也是很有必要的 不要看你刚才的功能运行已经OK了 但是 以后的功能如果要依托这个功能去实现的话 那么就不知道是不是可以解决了
如:
private const string SQL_SELECT_PRODUCT = "select ProductItem.ItemId,Product.ProductId,ProductItem.Price,ProductItem.ItemName,ProductItem.ItemImage,Product.ProductName,Product.Categoryid,Inventory.Qty from INNER JOIN Product ON ProductItem.ProductId=Product.ProductId INNER JOIN Inventory ON ProductItem.ItemId=Inventory.ItemId where ProductItem.ProductId=@productid";
from后边没有表名呀........ 低级失误
- ...Incorrect syntax near '='. 低级问题
- Incorrect syntax near 's'
- Sybase- Incorrect syntax near '2008'.
- SQL Incorrect syntax near 错误
- Incorrect syntax near the keyword 'WITH'
- c# - Entity Framework: Incorrect syntax near ‘OFFSET’
- 【sql server】解决 com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '@P0'.
- 记一次Apach DBUtils的使用中出现的错误报错 Incorrect syntax near ','.
- 解决cygwin中的 syntax error near unexpected token问题
- syntax error near unexpected token `then'问题的解决
- syntax error near unexpected token `问题的解决
- syntax error near unexpected token `then'问题的解决
- shell script中的syntax error near unexpected token `then' 问题
- syntax error near unexpected token `then'问题的解决
- syntax error near unexpected token `then'问题的解决
- syntax error near unexpected token `then'问题的解决
- syntax error near unexpected token `$’do\r”报错问题
- syntax error near unexpected token `then'问题的解决
- 长时间注视屏幕容易引起视觉疲劳
- ModuleCode: themedownload 0.03
- Python语言
- JS 合并表格列
- 学习ACE
- ...Incorrect syntax near '='. 低级问题
- 在网页中动态改变图片大小
- [原创]B/S页面From表单填写时用回车代替TAB的动态javascript实现方式
- js的日期格式化函数
- BabyLinux制作过程详解
- Windows Vista环境下Microsoft SQL Server2000的安装及运行
- visio 企业架构版下载地址
- 从 handle 与 句柄 谈 程序设计文献 翻译
- 根据汉字获得拼音