SmallInt.... ADO.Net

  • Thread starter Thread starter John Smith
  • Start date Start date
J

John Smith

I am using ADO.Net to call my stored procedure.
What should be the datatype I should use to store the return parameter from
stored a procedure which has an output data type as Smallint in SQL Server.
Thanks
John
 
Hi,

To see what datatypes SQL is using, just create a dataset by using a "SELECT
* FROM ...."
and inspect the datatype of the created columns.

Good luck
 
Back
Top