SQL Window Functions Series: LAG() and LEAD()
Dive deep into the powerful SQL window functions, LAG() and LEAD(). Explore their intricacies, discover real-world examples, and avoid common pitfalls.
2023-12-11
12,378 reads
Dive deep into the powerful SQL window functions, LAG() and LEAD(). Explore their intricacies, discover real-world examples, and avoid common pitfalls.
2023-12-11
12,378 reads
The most common method on the internet for combining DATE and TIME columns in SQL Server is incorrect. This article demonstrates why that and other methods are incorrect and two lesser known high performance methods that produce correct results even for the "edge cases".
2023-08-07
26,088 reads
Learn to calculate Start / First of Week, End of Week, Start of Next Week, Year, Quarter, and Month of the week, Week Numbers and more in T-SQL (Jeff Moden)
2022-07-13
35,840 reads
A function to add or subtract working days taking into account weekends and using a table of non-working days.
2019-07-10 (first published: 2019-06-26)
5,301 reads
2018-02-23 (first published: 2018-02-19)
224 reads
2017-12-29
1,143 reads
This script provides the day of the month for the standard bank holidays for any given year. This is especially useful for computing the workday after a holiday.
2017-05-24 (first published: 2017-05-10)
561 reads
We spent two days benchmarking Snowflake Postgres mirroring under load. Postgres data reached Snowflake...
When data and AI strategies compete for the same platform, teams duplicate work and...
By James Serra
Microsoft shared another large set of announcements at Microsoft Ignite, held November 17–20 in...
BCA KCP Prima Sunter : Telp|wa0821-269-22311 Jl. Danau Sunter Utara No.A2-A3, RT.10/RW.11, Sunter Jaya,...
BCA KCU TANJUNG PRIOK : Telp|wa0821-269-22311 Jl. Enggano No.22-23, RT.8/RW.16, Tj. Priok, Kec. Tj....
BCA KCU KELAPA GADING : Telp|wa0821-269-22311 Menara Satu Sentra Klp. Gading, Jl. Boulevard Bar....
Which class of errors are automatically written to the error log?
See possible answers