Table of Contents
SQL Server Error: 161
Severity: 15
Event Logged or not: No
Description:
Rule contains more than one variable.
Severity 15 Description:
Indicates syntax errors in the Transact-SQL command.
Sql Server Odbc Driver In client Side where we face SQL Server Error: 161 And SQL Server Error: 17
Identifying SQL Server Error Log File used by SQL Server Database Engine can be done by reading SQL Server Error Logs. DBA can execute the XP_READERRORLOG extended stored procedure to read the SQL Server Error Log and search for its location used by the instance of SQL Server.
USE master
Go
xp_readerrorlog 0, 1, N'Logging SQL Server messages in file', NULL, NULL, N'asc'
Go
By default, we have 6 Server Error Logs kept but we can increase the number of SQL Server Error Logs from the default value of six.
For other ways to read and find error log location please our article https://sqlserver-dba.co.uk/error-log/sql-server-identify-location-of-the-sql-server-error-log-file.html
Check whether the tcp/ip protocol for SQL is enabled for error number 17.
Configuration Tools >> SQL Server Configuration Manager >> SQL Server 2005 Network Configuration >> Microsoft SQL Server 2005 TCP-IP is enabled.
For SQL Server 2005, the amed pipes and TCIP protocols are deactivated by default. Have you checked the “SQL server configuration manager” for them? The protocols can be found in SQL Server Network setup and SQL Native Client xx configuration.
The “Shared memory” protocol is used to establish the connection on the server.
SQL Server Error: 161
Severity: 15
Event Logged or not: No
Description:
Rule contains more than one variable.
Learn about SQL Server detecting logical consistency based issues and how to resolve them.
Learn about SQL Server error 1222 and how to resolve the lock request time out…
Discover the new features of Microsoft SQL Server 2022 and how they compare to previous…
SQL Server Error 1222 lock request time out period exceeded Lock request time out…
SQL Server Error : 427, Severity: 20. Could not load the definition for constraint ID…
SQL Server Error : 204, Severity: 20. Normalization error in node %ls.
This website uses cookies.