Skip to content

Jim Salasek's SQL Server Blog

Sharing what I learn about Sql Server

  • Home
  • About
  • Contact

Recent Posts

  • SQL Server: TableSample clause May 4, 2022
  • T-SQL: Create a running total April 6, 2022
  • Sql Server: Find the location your backups are going to. March 3, 2022
  • Oracle: Database will not startup due to invalid parameter February 8, 2022
  • Using dbatools to import csv data to your database: Import-DbaCsv January 4, 2022
March 2020
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
« Feb   Apr »

Month: March 2020

Calculate Percentage of Total

When creating queries for a data warehouse, you may need to calculate what percentage of each customers portion is to the total.  This can show you what percentage of total sales each customer makes up.

Continue reading Calculate Percentage of Total

Posted on March 5, 2020January 12, 2020Categories UncategorizedLeave a comment on Calculate Percentage of Total
Create a website or blog at WordPress.com
  • Follow Following
    • Jim Salasek's SQL Server Blog
    • Join 27 other followers
    • Already have a WordPress.com account? Log in now.
    • Jim Salasek's SQL Server Blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar