Scripts

Technical Article

Return WeekNo (ISO 8601 standard)

In MS SQL, January 1 of any year defines the starting number for the week. The DATEPART(wk, 'Jan 1, xxxx') always return 1. However, a lot of reports Week No is actually based on ISO 8601 standard, that is January 1 of any year can be Week 53/52 or Week 1. (http://www.merlyn.demon.co.uk/weekinfo.htm#IDC)The Rule is as […]

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

You rated this post out of 5. Change rating

2005-06-14 (first published: )

340 reads

Technical Article

IsDateAHoliday UDF

This is a User Defined Function that returns a 1 if date is a holiday else, it returns a 0.The holidays are:New years Day, MLK Day, Presidents Day, Memorial Day, Independance Day, Labor Day, Columbus Day, Veterans Day, Christmas Eve and Christmas Day

★ ★ ★ ★ ★ ★ ★ ★ ★ ★

(1)

You rated this post out of 5. Change rating

2005-06-13 (first published: )

327 reads

Blogs

Postgres data in Snowflake in under a minute, without an ETL pipeline

By

We spent two days benchmarking Snowflake Postgres mirroring under load. Postgres data reached Snowflake...

Why your data strategy and AI strategy should be one

By

When data and AI strategies compete for the same platform, teams duplicate work and...

Microsoft Ignite Announcements Nov 2026

By

Microsoft shared another large set of announcements at Microsoft Ignite, held November 17–20 in...

Read the latest Blogs

Forums

BCA KCU SUNTER Telp|wa: 0821-269-22311

By Robert Sterbal-482516

BCA KCU SUNTER : Telp|wa0821-269-22311 Jl. Danau Sunter Utara Jalan Kavling No.3 Blok A,...

BCA KCP Yos Sudarso Telp|wa: 0821-269-22311

By Robert Sterbal-482516

BCA KCP Yos Sudarso : Telp|wa0821-269-22311Jl. Kebon Bawang VII No.40 2, RT.2/RW.6, Kb. Bawang,...

BCA KCU MANGGA DUA RAYA Telp|wa: 0821-269-22311

By Robert Sterbal-482516

BCA KCU MANGGA DUA RAYA : Telp|wa0821-269-22311 Jl. Mangga Dua Raya Jalan Kavling No.1...

Visit the forum

Question of the Day

Severe Errors

Which class of errors are automatically written to the error log?

See possible answers