I am trying to update a table using table type parameter. Currently I am using the below query. But I would like to perform update in batches having b ...
I am trying to update a table using table type parameter. Currently I am using the below query. But I would like to perform update in batches having b ...
My ORDER BY clause works differently. If I am using a SELECT statement with ORDER BY everything is fine, all is sorted as i want. But if I use TABLE- ...
Using Microsoft Query I'm trying to setup a sql data source for an Excel pivot table, specifically when the sql contains a table valued function. The ...
I am trying to established a Function to have multiple parameters as see below @SITENAME, @MARKET and @DATE. This is the data in [dbo].[MyTable] ...
I have ASP .NET Web Form application with SignalR handling online notifications. Somewhere down the road of simplifying the code, I ran into an issue ...
I'm trying to send Multiple Tvps to the procedure using npm i mssql But I get an error RequestError: The number NaN cannot be converted to BigI ...
I have a stored procedure like this: CREATE PROCEDURE [dbo].[GetInventoryData] @supplierId UNIQUEIDENTIFIER, @numbers dbo.ListNumbers READON ...
Please, could you give me some tips for my problem with table valued function in SQL? I am designing Windows Forms app in C#, Visual Studio and I am ...
I have a stored procedure which uses a table valued parameter (tvp). In my application, I use a datatable as a SqlParameter to match the tvp structure ...
In C#, for Table-valued parameter I add a SqlParameter with 'SqlDbType' as 'Structured' and 'Value' as a C# DataTable. I want to extract this data lat ...
I'm afraid the answer to this is "NO, you can't", but since I can't find this explained anywhere I'm gonna ask anyway. Given a user defined table typ ...
I am calling an API and moving the data from json to sql. When I try to post to sql I get this error: Pyodbc Error "A TVP's rows must be Sequence obje ...
The following query will return a list of all table-valued functions in a database and a list of their output columns (and column data types). But ...
Executing the above stored procedure like the below The incoming request has too many parameters. The server supports a maximum of 2100 parameter ...
I'm working on unix/rhel7 system. I have installed require drivers for FreeTDS, unixODBC and pyodbc.Other query is working fine but when I'm trying ex ...
In C# I'm trying to pass a DataTable as a parameter to an SQL statement. The code I have is below: However, when command.ExecuteNonQuery is called, ...
I built a wrapper function that currently just calls another table-valued Function but it just added a huge amount to the execution time as Client pro ...
I have 2 queries that are essentially the same (at least if I didn't miss something). DECLARE @siloIds SiloIdsTableType INSERT INTO @siloIds VALUES ...
Given the following table type: I pass this table type to a stored procedure. Inside this stored procedure I want to add the data from TestType wit ...
I am learning SQL although familiar with Powershell. I am trying to call a stored procedure using a table-valued parameter to insert an array of data ...