Displaying 1 result from an estimated 1 matches for "dafra01".
2009 Feb 09
0
ROracle - ORA-02005: implicit (-1) length not valid for this bind or define datatype
...##
##################################################################
> library(ROracle)
Loading required package: DBI
>
> ora <- dbDriver("Oracle")
>
> con <- dbConnect(ora, user = "uuuuu", password = "pppp" , dbname = "dddd")
>
> dafra01 <- data.frame(N1=rep(c(10),10),C1=rep(c("11"),10),N2=rep(c(12),10),stringsAsFactors=FALSE)
>
> ps <- oraPrepareStatement(con=con, statement="insert into tmp_r (N1,C1,N2) values(:1,:2,:3)", bind= c("numeric","character","numeric"))
>...