I am having a table with name medium and there is a column name medium name and creation date i have created stored procedure to insert specific above two values .below is my stored procedure
alter procedure insertmediumproc
    @MediumName varchar(50) ,@CreationDate datetime
as 
begin
    insert into medium  (MediumName, CreationDate) values(@MediumName,getdate())
end
when i tried to insert values in table with command below:
exec insertmediumproc Nepali,getdate()
it is showing error below: Msg 102, Level 15, State 1, Line 1 Incorrect syntax near ')'.
 
     
     
     
    