Help using Base SAS procedures

why odbc dataset can't show detail

Reply
Regular Contributor
Posts: 222

why odbc dataset can't show detail

aaa.JPG
Hello everyone,

If a dataset was signed from an odbc,when I right click the dataset in explore of SAS, it can't show how many rows and waht is the create date. why?

Thanks!

Super Contributor
Posts: 1,636

Re: why odbc dataset can't show detail

did you use

schema=dbo; ?


Regular Contributor
Posts: 222

Re: why odbc dataset can't show detail

Just right click my mouse on the  dataset,I just add a picture,you can see it.

Thanks

Super Contributor
Posts: 1,636

Re: why odbc dataset can't show detail

below is my libname statment:

libname x odbc dsn=**** uid=**** password=**** schema=dbo;

can you see a screen like the attached screen shot? if so you can click the columns tab.


odbc.png
Regular Contributor
Posts: 222

Re: why odbc dataset can't show detail

Hi Linlin,

The column tab only show informaton of column,I want to check how many rows in the dataset and the create date.

these informations locate at general tab.

Thanks

Frequent Contributor
Posts: 110

Re: why odbc dataset can't show detail

Regular Contributor
Posts: 222

Re: why odbc dataset can't show detail

 

How Do I Look it Up If I Cannot Spell It: An Introduction to SAS® Dictionary Tables?

Thanks

Super User
Posts: 9,662

Re: why odbc dataset can't show detail

The best way is entering the DataBase(DB2 Sybase ...) your ODBC connected and use their SQL to query these information. Can you connect with the Administrator of these database ?

Ksharp

PROC Star
Posts: 1,555

Re: why odbc dataset can't show detail

run

option details;

Super User
Posts: 9,662

Re: why odbc dataset can't show detail

Chris,

I don't think it can check the size or create-time of the table.

PROC Star
Posts: 1,555

Re: why odbc dataset can't show detail

You might be right.

It works with oracle so I assumed it worked for most common sas/access engines.

Mike can you confirm when you have tried?

Super Contributor
Posts: 349

Re: why odbc dataset can't show detail

Hi Mike,

I Guess you cannot get created date information using base SAS for odbc library,but you can get this information for sas datasets.

If you want to know create date information you can login to sqlserver and properties you will get that.

Hope this helps...

Thanks,

Shiva

Ask a Question
Discussion stats
  • 11 replies
  • 261 views
  • 6 likes
  • 6 in conversation