objects in oc database

Reply
N/A
Posts: 0

objects in oc database

Hi all
i am using SAS Access to extract the data from oracle clinical database
can any one tell me the code to know "what all the tables are present in the database" and how to know the contents of each table
thank you
N/A
Posts: 0

Re: objects in oc database

First you need to define your database as a SAS library, then you could use proc contents. You can learn how to define the library here:

http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/access_relationdb_6988.pdf
http://www.nesug.info/Proceedings/nesug05/io/io8.pdf

PROC CONTENTS does not show the number of observations, indexes, and creation and modification dates for tables in oracle databse.

I don't know how to get the details on indexes for tables in oracle database. Does anyone know? -------
Message was edited by: Nilan

added 'tables in oracle databse' twice as my original message wasn't clear.
N/A
Posts: 0

Re: objects in oc database

I don't have any Oracle Clinical databases to work with, but on SQLServer you can send an SQL Passthrough command to read the definition of the table. A number of commands work to give you table order, indexes and blocking / physical information.
Ask a Question
Discussion stats
  • 2 replies
  • 333 views
  • 0 likes
  • 1 in conversation