-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 Server issue listing table names #5816
Comments
Please reproduce your issue with DBAL APIs only or by providing a failing functional test. This makes it easier for others to pick your issue up because not everyone uses Laravel. |
@rotunomp hi, I'm facing the same issue did you find any solutions please ? |
Does #6072 fix the issue for you? |
| Q | A |------------- | ----------- | Type | bug | Fixed issues | #5816 #### Summary `SQLServerSchemaManager::selectTableNames()` binds a parameter that does not exist in the query. I don't know how we can make the CI catch this issue. This piece is covered by a test that fails on my machine, but apparently the SQL Server and driver setup that I use locally is more picky about extra parameter than the one we use on GitHub actions. 🤷🏻
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug Report
Hello, I was trying to get database table names from an SQL Server 2019 connection, and ran into this error:
SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
I attempted this on a different postgres connection just to make sure, and it could properly get table names on that connection.
How to reproduce
This is my code. I am using Laravel to establish the DB connection, I attempted:
The text was updated successfully, but these errors were encountered: