Find Most executed queries in SQL Server

SELECT TOP 100 QueryState.execution_count, OBJECT_NAME(objectid), query_text = SUBSTRING( qt.text, QueryState.statement_start_offset / 2, ( CASE WHEN QueryState.statement_end_offset = -1 THEN len(convert(nvarchar(max), qt.text)) * 2 ELSE QueryState.statement_end_offset END – QueryState.statement_start_offset ) / 2 ), qt.dbid, dbname =…

Format dates in PHP

Formatting dates in PHP is an essential task for any web developer. It is important to display dates in a format that is easy to read and understand for users. In this article, we will…

jQuery to pure Javascript examples – 6

Check if HTML element exists // jQuery if($(“#myElm”).length > 0) { console.log(“Element exists”); } // Pure javascript var my_elm = document.getElementById(“myElm”); if(typeof(my_elm) != ‘undefined’ && my_elm != null){ console.log(“Element exists”); }

What’s New for January 2022

We haven’t heard from you in a long time, but we haven’t abandoned the project. We are going back to work more motivated than before thanks to your support. Here’s what’s new this month: The…