MINI MINI MANI MO
%
% Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
%
\name{ore.exec}
\alias{ore.exec}
\title{
SQL 질의 실행 함수
}
\description{
사용자의 Oracle Database 스키마에서 지정된 SQL 질의를 실행합니다.
}
\usage{
ore.exec(qry)
}
\arguments{
\item{qry}{
SQL 문을 지정하는 문자열입니다.
}
}
\details{
\code{ore.exec} 함수는 반환 값이 없는 DDL(데이터 정의어)
유형 명령문(예: CREATE TABLE)에 주로
사용됩니다.
\code{ore.exec} 함수 호출이 사용자의 Oracle Database 스키마에서
테이블을 생성하는 경우 사용자가 \code{\linkS4class{ore.frame}} 함수를
호출하지 않으면 해당 \code{\link{ore.sync}} 객체가 생성되지 않습니다.
모든 \code{\linkS4class{ore.frame}} 객체를 새로 고치지 않기 위해
테이블 이름을 명시적으로
제공할 수 있습니다.
}
\value{
보이지 않는 \code{NULL} 값을 반환합니다.
}
\references{
\href{http://www.oracle.com/technetwork/database/database-technologies/r/r-enterprise/documentation/index.html}{Oracle R Enterprise}
}
\author{
Oracle \email{oracle-r-enterprise@oracle.com}
}
\seealso{
\code{\link{ore.ls}},
\code{\link{ore.sync}},
\code{\link[DBI]{dbGetQuery}}
}
\examples{
if (!interactive())
{
ore.exec("create table TEST_CREATE as select * from dual")
ore.exists("TEST_CREATE") # table not found
ore.sync(table="TEST_CREATE") # sync metadata of new table only
ore.exists("TEST_CREATE") # table TEST_CREATE is present
ore.drop(table="TEST_CREATE") # clean up
ore.exists("TEST_CREATE")
}
}
\keyword{database}
\keyword{ORE}
OHA YOOOO