Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/testthat/test-driver-sql-server.R
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,11 @@ test_that("Mixed success multiple result-sets (#924)", {
})

test_that("Table-valued parameters", {
# PRO Driver does not, at this time, handle TVPs.
# In particular, `SQLDescribeParam`
# applied to the TVP param does *not* return
# SQL_SS_TABLE
skip_if(Sys.getenv("ODBC_DRIVERS_VINTAGE") != "OEM")
con <- test_con("SQLSERVER")
dbExecute(con, "CREATE TYPE tvp_param AS TABLE (col0 INT, col1 BIGINT, col2 VARCHAR(MAX), col3 VARCHAR(MAX), col4 VARCHAR(MAX));")
# tvp is second argument to sproc
Expand Down
Loading