I am new to SAS and speaking to some experienced SAS users within my organization, I was told that SAS is a non-relational database. I looked up "non-relational databases" and found some information about NoSQL databases, but I still do not think that SAS is a non-relational database. It appears to me that SAS datasets are flat files within a library with no relational structure, therefore I do not understand how it could be considered a database. I'd appreciate any input that would help me understand this better?
@angelac44 wrote:
I am new to SAS and speaking to some experienced SAS users within my organization, I was told that SAS is a non-relational database. I looked up "non-relational databases" and found some information about NoSQL databases, but I still do not think that SAS is a non-relational database. It appears to me that SAS datasets are flat files within a library with no relational structure, therefore I do not understand how it could be considered a database. I'd appreciate any input that would help me understand this better?
I would say "Give me YOUR definition of database" before attempting an answer.
If you build tables properly those can be relational through the use data views, again somewhat depending on your definition of "relational".
I would not in general say that SAS data sets are "flat files" because the metadata stored about the datasets that can be accessed with different tools.
Just like any database software, you can make "good" databases or poor ones. Believe me, I have inherited some very interesting Access "databases".
@angelac44 wrote:
I am new to SAS and speaking to some experienced SAS users within my organization, I was told that SAS is a non-relational database. I looked up "non-relational databases" and found some information about NoSQL databases, but I still do not think that SAS is a non-relational database. It appears to me that SAS datasets are flat files within a library with no relational structure, therefore I do not understand how it could be considered a database. I'd appreciate any input that would help me understand this better?
I would say "Give me YOUR definition of database" before attempting an answer.
If you build tables properly those can be relational through the use data views, again somewhat depending on your definition of "relational".
I would not in general say that SAS data sets are "flat files" because the metadata stored about the datasets that can be accessed with different tools.
Just like any database software, you can make "good" databases or poor ones. Believe me, I have inherited some very interesting Access "databases".
@angelac44 - SAS includes some features that are common to relational databases including table indexing and integrity constraints defining primary and foreign keys.
In general RDBMSs are often optimised for transactional processing whereas SAS is optimised for analytical processing. Many RDBMSs can now also be optimised for analytics.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.