4
Answers

How to insert multiple rows in a single query using a stored

  1. CREATE PROCEDURE Usp_insertgender       
  2. (  
  3. @gendervalues VARCHAR(MAX)) AS   
  4. BEGIN  INSERT INTO sparsha.dbo.Genders ([GenderName]  
  5. )       
  6. VALUES @gendervalues;   
  7.   
  8. END  
I want to execute procedure
execute Usp_insertgender (1),(2)  
but am getting error plz help me 
Answers (4)