BookmarkSubscribeRSS Feed
dennis_oz
Quartz | Level 8

Hi all,

I was looking for some blogs where it explains how data needs to be put tabular format for different business requirements . 

 

for example

eg : capturing contacts from a customer . But when we need to have this reported every month how it needs to be done , how to go about doing that .

use table 2 or use table 3 

customer sms phone  email
Mark      
John       

 

 

table 2            
customer sms_042021 phone_042021 email_042021 sms_052021 phone_052021 email_052021
Mark            
John             

 

table 3        
customer month sms phone  email
Mark 42021      
Mark 52021      
John  42021      
John  52021      

 

 

so looking for some blogs or documentation on similar scenarios.

sorry if I don't make sense . I did not know whether to post this message out there or not .. but I thought if I hold back there is nothing I am learning . I might as well ask an irrelevant question and be corrected on my approach that have this just kept in my mind .

 

thanks in advance !

 

 

3 REPLIES 3
japelin
Rhodochrosite | Level 12

It depends on what kind of data you currently have and what purpose you want to use the data for, but in general, normalized data is easier to work with.

Therefore, it is better to use table3. It is easy to extract monthly data.

andreas_lds
Jade | Level 19

Difficult to suggest something without knowing the "different business requirements" you mention.

I would question then need to see old and maybe outdated contact information at all.

Sajid01
Meteorite | Level 14

Hello
The following blogs will help you understand the concepts of database design 

https://en.wikipedia.org/wiki/Database_design 

https://en.wikipedia.org/wiki/Database_schema 

https://www.datavail.com/blog/an-introduction-to-database-design-from-logical-to-physical/ 

https://www.astera.com/type/blog/all-you-need-to-know-about-database-design/#:~:text=Database%20desi...

You can also look at some of  the sample databases that come with Microsoft Access and Microsoft SQL Server .
These resources will help how data needs to be put tabular format for different business. requirements.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 685 views
  • 1 like
  • 4 in conversation