Giter Site home page Giter Site logo

kevinmartintech / date-time-number-dimension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emergentsoftware/date-time-number-dimensions

0.0 0.0 0.0 39 KB

SQL Server T-SQL scripts to create the data warehouse dimensions or business intelligence tables and load the tables with data.

License: MIT License

TSQL 100.00%

date-time-number-dimension's Introduction

Date Time Number Dimensions

This project contains SQL Server T-SQL scripts to create the data warehouse dimensions or business intelligence tables and load the tables with data. A Number table is also known as a tally table.

  1. Execute the create table script for either the date, time or number
  2. Execute the load data script for eather the date, time or number

Date - Load Data

  • The date load script will create a record 3,652,058 records (479.102 MB uncompressed) for the date range of 0001-01-01 - 9999-12-30
  • Page compression will result in a 237.883 MB size that will cause a slight CPU increase for queries
  • There is an option to create a Integration.WorkDayOff table. This can be used if the use case of business holidays are required. Otherwise you can use the Saturday, Sunday in the script.

Time - Load Data

  • The time load script will create 86,400 records | 1 second grain.

Number - Load Data

  • The number load script will create as many number records as you need for your data situation. This table provides more attributes than just a number to join on. The numbers are converted into words (One hundred twenty three), roman numerals, number placements (tens, hundreds, millions) good for grouping on, binary numbers, hex numbers, even/odd.

date-time-number-dimension's People

Contributors

kevinmartintech avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.