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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top