40% of SAS programmer's time was spent on getting the right data in the right format. Hence, you will deal with database a lot of you are sas programmer. Database, on the other hand is a much broader subject. database programmer mainly deal with writing procedures macros and sqls to handle complex business transactions. data analyst on the other hand is to understand the data by using SQL and data analysis skills. DBA -- do whatever everybody else asked you to do.