Where do the database management systems store data and how do
u import them.

Answers were Sorted based on User's Feedback



Where do the database management systems store data and how do u import them...

Answer / solasa

Most clinical data management systems used for clinical
trials today store their data in relational database
software such as Oracle or Microsoft SQL Server.

A relational database is composed of a set of rectangular
data matrices called “tables” that relate or
associate with one another by certain key fields. The
language most often used to work with relational databases
is structured query language (SQL).

The SAS/ACCESS SQL Pass-Through Facility and the SAS/ACCESS
LIBNAME engine are the two methods that
SAS provides for extracting data from relational databases.

example:
SAS ACESS/SQL pass facility

proc sql;
connect to oracle as oracle_tables
(user = USERID orapw = PASSWORD path =
"INSTANCE");
create table AE as
select * from connection to oracle_tables
(select * from AE_ORACLE_TABLE );
disconnect from oracle_tables;
quit;

example 2:
SAS ACCESS/LIBNAME STATEMENT:

libname oratabs oracle user=USERNAME
orapw = PASSWORD path = "@INSTANCE" schema =
TRIALNAME;
data adverse;
set oratabs.AE_ORACLE_TABLE;
where query_clean = “YES”;
keep subject verbatim ae_date pt_text;
run;

Is This Answer Correct ?    18 Yes 0 No

Where do the database management systems store data and how do u import them...

Answer / rajkumar

Most of the people are store their data in Oracle , SQL
Server.

We have to import the data by using import procedure.

Proc import datafile = <file path> out = <dataset name>
dbms = <identifier> replace;
<data-source-statement(s)>;
run;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

How to write duplicate records into a separate dataset using sort?

4 Answers   HSBC,


data task; input id date date9. visit; cards; 101 01jan2015 1 101 02jan2015 2 101 06jan2015 3 102 04jan2015 1 102 07jan2015 2 102 12jan2015 3 103 06jan2015 1 103 13jan2015 2 ; run; write a program to find out missing dates between visits by each subject.

1 Answers  


How we will Developing new reports Using Data step programming and Macros ?

4 Answers  


Given an unsorted data set, how to read the last observation to a new data set?

0 Answers  


Which are SAS Windows Clients & SAS Java Clients

3 Answers   TCS,


Which are the statements whose placement in the data step is critical?

0 Answers  


Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables.

7 Answers   Accenture,


how can u extract,transform and loading?

2 Answers   CitiGroup,


Have you ever used the SAS Debugger?

0 Answers   Quintiles,


I need to find the numeric field which contains blank in between..Ex:123 456...there is blank in between the 123 456..I need to know if there is any SAS function to find a field.. Please suggest...

5 Answers   TCS,


What are the main differences between sas versions 8.2, 9.0, 9.1?

4 Answers  


i have a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window.how can we do this one?

6 Answers   GSK,


Categories