Hi all,
Does anyone knows how to execute a stored procedure in c# that are in a different schema besides [dbo]?
Lets sat that my stored procedures on DB are separated by schemes, how can I use c# to access them regardless they are in the dbo schema?
Below is the code that I normally use:
...
SqlCmd.CommandText = "procedure name;
SqlCmd.CommandType = CommandType.StoredProcedure;
...
Thanks in advance

Peter Hacker7 reputationPosted Nov 16, 2017, 11:52 AM EST
Nilesh ShahRank #42 · 34.2K reputationPosted Nov 16, 2017, 11:58 AM EST
Peter Hacker7 reputationPosted Nov 16, 2017, 12:04 PM EST
Nilesh ShahRank #42 · 34.2K reputationPosted Nov 16, 2017, 11:37 AM EST