i created a stored procrdure that checks for duplicates in a database when importing data from a spreadsheet.When i try to execute the SP in visual studio using ExecuteNonQuiry() it throws an error that says executeNonQuiry does not execute select statements.
Is there any other way for me to execute this quiry.plz help.Here is the stored procedure
SET
GO
ALTER
@StudentID
@ModuleCode
AS