Home » sql server error 18752

sql server error 18752

SQL Server Error : 116, Severity: 15. Only one expression can be specified in

SQL Server Error : 116 Details

SQL Server Error: 116 Severity: 15 Event Logged or not: No Description: Only one expression can be specified in the select list when the subquery is not introduced with EXISTS. Severity 15 Description: Indicates syntax errors in the Transact-SQL command.

Example:

SELECT [ID], [Date], [Description], [Count] FROM [dbo].[Order] WHERE [ID] NOT IN (SELECT [ID], [NumberofStock] FROM [dbo].[Stock]) Msg 116, Level 16, State 1, Line 4 Only one expression can be specified in the select list when the subquery is not introduced with EXISTS.

This error usually occurs when a sub-query is used in conjunction with the IN or NOT IN logical operator. The IN … Read the rest

SQL Server Error : 119, Severity: 15. Must pass parameter number %d and subseq

SQL Server Error : 119 Details

SQL Server Error: 119 Severity: 15 Event Logged or not: No Description: Must pass parameter number %d and subsequent parameters as ‘@name = value’. After the form ‘@name = value’ has been used, all subsequent parameters must be passed in the form ‘@name = value’. Severity 15 Description: Indicates syntax errors in the Transact-SQL command.

One of the most commonly used objects in SQL Server is the stored procedure. The error message we’ll be discussing in this article is related to a stored procedure and its parameters. Let me explain the error message and how to resolve it.

EXECUTE sys.sp_one 'One', @Table_Owner = two, 'three'

Msg 119, Level 15, 
Read the rest

SQL Server Error : 9004, Severity: 21. An error occurred while processing the l

SQL Server Error : 9004 Details

SQL Server Error: 9004 Severity: 21 Event Logged or not: Yes Description: An error occurred while processing the log for database ‘%.*ls’. If possible, restore from backup. If a backup is not available, it might be necessary to rebuild the log. Severity 21 Description: Indicates that a problem has been encountered that affects all tasks in the current database, but it is unlikely that the database itself has been damaged.

Reading sql server error log location from SQL Query

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 … Read the rest