sql-server - 3061 Too few parameters.Expected1
问题描述
I am getting the Error two few parameters Expected 1.For the below query which I am using in MS Access vba code .I am able to point that Where clause is the reason I am getting this error.But not sure why.
strSQL ="SELECT Count(*) FROM Table_1 INNER JOIN Table_2 ON (Table_2.[F6] = Table_1.[Column1]) WHERE ( (Table_1.[Table1_Date])> DateAdd(month,-1,Date()) );"
Set rs = MyDB.OpenRecordset(strSQL)
解决方案
推荐阅读
- python - Dockerfile 从父目录构建
- android - 制作 Android 应用时在 Visual Studio 中引用错误
- php - 验证 UPS api 凭据的解决方案
- java - 使用 OAuth2.0 客户端凭据向 Azure Log Analytics Api 进行身份验证
- amazon-web-services - AWS 中的 Kubernetes 服务访问
- c# - 由 C# EF 核心调用时暂停的选择查询,MSSQL 管理工作室执行查询就好了。为什么?
- python - 如何使用复杂列表中的数字作为标题/如何仅打印与某个值匹配的列表的一部分
- socket.io - 我们可以使用 Angular 6 客户端套接字连接到 Erlang 套接字服务器吗?
- javascript - 如何制作不调整自身大小的div
- wordpress - 是否可以在不影响子主题的情况下父主题?