T-SQL Trick: Use Recursive CTE To Get Hierarchical Data

  In a previous article we learnt how to use CTE (Common Table Expression) to render dates in a date range. In this example we’ll use somewhat advance technique to show a data in a heirarchical form. Using the regular T-SQL query this is almost impossible to achieve it without coding in a strored procedure […]

Continue Reading

T-SQL Trick: Use CTE to Render Dates In The Specified Date Range

  Using a traditional programming language like C# or Python you can use “for” and “while” loop constructs to generate a sequence of numbers, dates, string values or anything else super-easily. But here we’ll learn how to generate date values in a specific range using Transact-SQL query. We’ll not use any SQL stored procedure. Let’s […]

Continue Reading

T-SQL Technique: Get Running Total Right From The Query

  There are occasions when it is required to reveal running totals before rendering the grand total in a report. Usually calculating and providing running total is the job of a report designer software module. But if you’re using SQL Server database then Transact-SQL (a.k.a T-SQL) provides this facility right in the query. Let’s assume […]

Continue Reading

MS Excel Techniques: Data Validation

  MS Excel provides a myriad of built-in data validation rules based on custom formula that enables users to control and validate the data entered into cells, ensuring its accuracy, integrity and consistency. With Data Validation, users can define rules and constraints on cell values, helping to prevent errors and inconsistencies in their spreadsheets. This […]

Continue Reading

SQL Technique: Users Who Consecutively Logged In For Multiple Times

Working with Sql to query a database is both simple and complex but is an alluring experience for everybody. For the simple requirement it is quite simple and straight forward, but for complex scenarios you have to give a fair amount of thought before finalizing your desired query. Below we’ll walk you through some simple […]

Continue Reading

PowerShell Technique – Get RSS Feed For Weather Update

Windows PowerShell is a robust programming platform which has the capability to cover, by and large, everything a developer can imagine. In this article we’ll articulate a little example to get the weather update through RSS feed. This example uses the PowerShell’s Invoke-RestMethod cmdlet to get weather information from BBC Weather update. Invoke-RestMethod cmdlet pulls […]

Continue Reading