Displaying 2 results from an estimated 2 matches for "stevenkennedy2263".
2011 May 02
2
INSERT OR UPDATE
I'm trying to insert rows of a data.frame into a database table, or update where the key fields of a record already exist in the table. I've come up with a possible solution below, but would like to hear if anyone has a better solution.
# The problem demonstrated:
# Create a data.frame with test values
library(RODBC)
tbl <- data.frame(
key1 = rep(1:3, each = 2),
key2 =
2011 May 02
3
subseting data
Hi,
Is it possible (i am sure it is) to subset data from a data.frame on the basis of SQL >LIKE< operator. I.e., i would like to subset a data where only values which contains a string >GP< would be used?
Example:
Gp<-subset(DF, DF$USCS like >GP<)
This like of course is not working,
Thanks, m
[[alternative HTML version deleted]]