MINI MINI MANI MO
%
% Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
%
% NAME
% ore.create.Rd - Create and Drop Data from the User's Oracle Schema
%
% DESCRIPTION
% Create an Oracle Database table from a data.frame or ore.frame
% object, or a view from an ore.frame object. Drop a database table
% or view.
%
% NOTES
%
% MODIFIED (MM/DD/YY)
% demukhin 11/02/12 - bug 14729804: document row names
%
\name{ore.create}
\alias{ore.create}
\alias{ore.create,data.frame-method}
\alias{ore.create,ore.frame-method}
\alias{ore.drop}
\title{
데이터베이스 테이블 생성 또는 소멸 함수
}
\description{
\code{data.frame} 또는 \code{ore.frame} 객체에서 Oracle Database 테이블을
생성하거나 \code{ore.frame} 객체에서 뷰를 생성합니다.
데이터베이스 테이블 또는 뷰를 삭제합니다.
}
\usage{
ore.create(x, table = NULL, view = NULL)
ore.drop(table = NULL, view = NULL)
}
\arguments{
\item{x}{
\code{\linkS4class{ore.frame}} 객체입니다. 또한 \code{\link[base]{data.frame}} 인수가
사용된 경우 \code{table}일 수 있습니다.
}
\item{table}{
테이블 이름을 지정하는 문자열입니다. 이 인수는 \code{view}
인수와 함께 사용할 수 없습니다.
}
\item{view}{
뷰 이름을 지정하는 문자열입니다. 이 인수는 \code{table}
인수와 함께 사용할 수 없습니다.
}
}
\details{
데이터베이스 테이블 또는 뷰를 생성 또는 삭제하려는지
여부에 따라 \code{table} 또는 \code{view} 인수 중 정확히 하나를
지정해야 합니다.
\code{ore.create} 함수를 사용하여 새 객체를 생성하면 \code{ore.get}
및 \code{ore.ls} 함수를 통해 액세스할 수 있는 객체 목록에
자동으로 포함됩니다. 또한 \code{ore.frame}이(가)
이미 호출된 경우 첨부된 \code{ore.attach} 객체의
목록에도 추가됩니다. 또한 \code{ore.create} 함수의 경우
\code{\linkS4class{ore.frame}} 객체만 \code{view} 인수에 사용할 수
있습니다.
마찬가지로 \code{ore.drop} 함수를 사용하여 객체를 제거할 때는
더 이상 \code{ore.ls} 함수 출력에 표시되지 않습니다. 또한
첨부된 \code{ore.frame} 객체 목록에서 제거됩니다.
백엔드 서버의 이름 지정 규칙과 일치하지 않는 열 이름이
입력 객체에 포함된 경우 \code{ore.make.names} 함수에 의해
수정됩니다.
\code{ore.create} 함수는 데이터베이스 테이블 또는 새로 생성된
\code{row.names} 객체에 \code{ore.frame}을(를) 보존하지 않습니다.
}
\value{
\code{ore.create} 및 \code{ore.drop} 함수 모두 보이지 않는
\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.exists}},
\code{\link{ore.sync}},
\code{\link{ore.rm}},
\code{\link{ore.attach}},
\code{\link{ore.connect}}
}
\examples{
if (!interactive())
{
ore.drop(table = "TEN_LETTERS")
ore.drop(table = "IRIS_TABLE")
ore.drop(view = "IRIS_VIEW")
ore.create(data.frame(x = 1:10, y = letters[1:10]),
table = "TEN_LETTERS")
ore.exists("TEN_LETTERS")
ore.create(iris, table = "IRIS_TABLE")
ore.create(head(ore.get("IRIS_TABLE"), 10), view = "IRIS_VIEW")
ore.exists("IRIS_VIEW")
ore.drop(table = "TEN_LETTERS")
ore.drop(table = "IRIS_TABLE")
ore.drop(view = "IRIS_VIEW")
}
}
\keyword{environment}
\keyword{database}
\keyword{ORE}
OHA YOOOO