Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mssql sql bug #754

Open
evmsoft opened this issue May 25, 2022 · 1 comment
Open

mssql sql bug #754

evmsoft opened this issue May 25, 2022 · 1 comment

Comments

@evmsoft
Copy link

evmsoft commented May 25, 2022

Describe the bug
在MSsql下,SELECT COUNT(1) FROM user WHERE passport='12345678'这个报错,user需要 [ ]起来

Exception message:
{
	"code": 52,
	"message": "mssql: 关键字 'user' 附近有语法错误。, SELECT COUNT(1) FROM user WHERE passport='12345678'\n",
	"data": null
}



@tc-hib
Copy link
Contributor

tc-hib commented May 25, 2022

  1. This is not an SQL Server help desk, your problem is not related to Go in any way
  2. The maintainers don't speak Chinese
  3. You got free software from them, you could make an effort to properly explain your problem
  4. Enclose "user" in brackets, or name it differently, close this issue and please don't do that a third time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants