Create storedprocedure and call it using native query