create the dateid table in sql server

Vineet S 425 Reputation points
2024-07-10T14:38:36.3933333+00:00

Hi ,

how to populate the dateid and date in dimtime table using script as below output upto 2029 excluding saturday and sunday

create table table (dateid int,day varchar(23),

dateid | day

20240601 | 2024 June 01

20290601 | 2029 June 01

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,070 questions
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
762 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,311 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,869 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,520 questions
{count} votes

0 additional answers

Sort by: Most helpful