Category: SQL Server

Using FETCH and OFFSET to get N records in SQL Server

In SQL Server , you can use the OFFSET and FETCH and apply paging and retreive N records at a time. OFFSET AND FETCH clause are part of the ORDER BY clause and hence you must include the ORDER BY clause. For example , you might want to skip the first 4 records and retrieve 5 records from the query , you could use the…

SQL Server Error Code – 7847 xml data was found in the parameter ‘%.*

In this blog post, you’ll learn more about the SQL Server Error Code 7847 and the error message description that is shown SQL Server Error Code 7847 SQL Server Error Description for the Code :7847 XML data was found in the parameter ‘%.*ls’ which is not an XML parameter.  Please entitize any invalid XML character data in this parameter, or pass the parameter in typed…

SQL Server Error Code – 8019 the incoming tabular data stream (tds) r

In this blog post, you’ll learn more about the SQL Server Error Code 8019 and the error message description that is shown SQL Server Error Code 8019 SQL Server Error Description for the Code :8019 The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter %d (“%.*ls”): Data type “0x%02X” (CLR type) has an invalid user type specified.

SQL Server Error Code – 17891 resource monitor (0x%lx) worker 0x%p app

In this blog post, you’ll learn more about the SQL Server Error Code 17891 and the error message description that is shown SQL Server Error Code 17891 SQL Server Error Description for the Code :17891 Resource Monitor (0x%lx) Worker 0x%p appears to be non-yielding on Node %ld. Memory freed: %I64d KB. Last wait: %ls. Last clerk: type %ls, name %ls. Approx CPU Used: kernel %I64d…