You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python version 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)]
pyodbc version 4.0.27
msodbcsql17.dll version 17.03.0001
Given the following database objects ...
/****** Object: UserDefinedTableType [dbo].[intTable] Script Date: 2019-08-06 08:04:34 ******/
CREATE TYPE [dbo].[intTable] AS TABLE(
[c1] [int] NOT NULL,
PRIMARY KEY CLUSTERED
(
[c1] ASC
)WITH (IGNORE_DUP_KEY = OFF)
)
GO
/****** Object: StoredProcedure [dbo].[tvpTestProc] Script Date: 2019-08-06 08:05:39 ******/SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[tvpTestProc]
@tbl intTable READONLY
ASBEGINSET NOCOUNT ON;
INSERT INTO tvpTestTable (c1) SELECT c1 FROM @tbl;
END
GO
Python version 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)]
pyodbc version 4.0.27
msodbcsql17.dll version 17.03.0001
Given the following database objects ...
... the following code works fine:
However, when I change
fast_executemany
toTrue
then I getI tried using both
UseFMTONLY=Yes
andUseFMTONLY=No
and I got the same result.SQL.LOG shows that SQLDescribeParam is successful ...
... but pyodbc appears to be unhappy with what it got back.
The text was updated successfully, but these errors were encountered: