BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Tom
Super User Tom
Super User

If you run PROC CONTENTS on tables/views that are in a foreign database (Oracle, Teradata, etc) then it will not report the number of observations.  It has nothing to do with the size of the table.  When SAS writes a SAS dataset it stores the number of observations where PROC CONTENTS can retrieve it without counting all of the rows.  It cannot do that for external databases.

Mirisage
Obsidian | Level 7

Hi Tom,
Thank you for your nice clarification .

Hi Scott_Mitchell,

Thank you for your ontribution.

Regards

Mirisage

Tom
Super User Tom
Super User

What do you mean by a 'warehouse'?  If it is in some non-SAS database management system (oracle, teradata, etc) then SAS cannot know the number of observations without asking the database.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 17 replies
  • 8860 views
  • 4 likes
  • 6 in conversation