How to retrieve 10 distinct values of the last records?...
Read MoreUse of MERGE reserved keyword in different versions of SQL Server...
Read MoreTrying to preserve data types when duplicating a table, dynamically...
Read Moresp_executesql In Loop Taking FOREVER to Run. Slowing down as it runs. Memory Leak?...
Read MoreWhy does using CONVERT(DATETIME, [date], [format]) in WHERE clause take so long?...
Read MoreOptimizing SQL Server performance: merging budget and actuals tables after same CTE transformations ...
Read MoreCombining (concatenating) date and time into a datetime...
Read MoreHow to see the execution plan of a multi-statement table valued function in SQL Server?...
Read MoreUsed statistics from XML plan cache for query with given QueryPlanHash...
Read MoreTSQL: ORDER BY - either use a column or nothing (empty)...
Read MoreWorkaround maximum key length for a nonclustered index in SQL Server...
Read MoreQuery to create new data column with alphabetical concatenating the data...
Read MoreString_Agg concatenating duplicated value when there is multiple Ids exist...
Read MoreConvert varchar to datetime without millisecond...
Read MoreGROUP BY clause with a sum of zero (and non-zero) data...
Read MoreDifference from the first row but aggregating from second row till the end...
Read MoreXML output from SQL Server based on header and details...
Read MoreCan I add a not null column without DEFAULT value...
Read MoreFilter out codes under certain conditions...
Read MoreIdentify and label each branch in a hierarchical structure...
Read MoreSTRING_SPLIT and ROW_NUMBER() - maintaining order...
Read MoreHow to convert number of minutes to hh:mm format in TSQL?...
Read MoreRetrieving last record in each group from database - SQL Server 2005/2008...
Read MoreWhat is the difference between using a cross join and putting a comma between the two tables?...
Read MoreHow to split a single column values to multiple column values?...
Read MoreLoading JSON file with nested elements into a T SQL table...
Read MoreGiven a view in SQL Server with a union query, can I find out which source columns from each source ...
Read MoreGenerate row for each month year if product sold in that year...
Read More