## examples use a dummy connection from DBI package
conn<-DBI::ANSI()
dbAddKey(conn, name = c("fla", "bli"), colname = "id", type = "foreign",
reference = c("flu", "bla"), colref = "id", exec = FALSE)
Run the code above in your browser using DataLab