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

SQL execution error from rubenv/sql-migrate #396

Open
whatarule opened this issue May 13, 2019 · 0 comments
Open

SQL execution error from rubenv/sql-migrate #396

whatarule opened this issue May 13, 2019 · 0 comments

Comments

@whatarule
Copy link

SQL execution error occurs on using from "rubenv/sql-migrate".
The error message is below:
Incorrect syntax near the keyword '?'

It would be appreciated fixing to return sql parameters for "denisenkom/go-mssqldb".

func (d SqlServerDialect) BindVar(i int) string {
	//return "?"
	return fmt.Sprintf("@p%d", i+1)
}

Thank you for your hard work.

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

1 participant