MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/R/library/OREbase/doc/man/zh_CN/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/R/library/OREbase/doc/man/zh_CN/ore.exec.Rd

%
% Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. 
%
\name{ore.exec}
\alias{ore.exec}
\title{
SQL 查询执行函数
}
\description{
在用户的 Oracle 数据库方案中执行指定的 SQL 查询。
}
\usage{
ore.exec(qry)
}
\arguments{
  \item{qry}{
一个用于指定 SQL 语句的字符串。
}
}

\details{
\code{ore.exec} 函数专用于数据定义
  语言 (DDL) 类型语句 (例如不返回值的
  CREATE TABLE 语句)。
  如果 \code{ore.exec} 函数调用在用户的
  Oracle 数据库方案中创建表, 则除非
  用户调用函数 \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