x <- 1:5
seqToSQL(x)
x <- c(1:5, 7)
seqToSQL(x)
x <- c(1:5, 7, 15:16)
y <- c(1:5, 7, 15:16, 20)
seqToSQL(x)
seqToSQL(y)
seqToSQL(x, maxChar = 5)
seqToSQL(y, maxChar = 8)
seqToSQL(10:1, sort = FALSE)
seqToSQL(10:1, sort = TRUE)
Run the code above in your browser using DataLab