1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Writing Functions and Stored Procedures in SQL Server

Connected

अभ्यास

Use SP to UPDATE

Create a stored procedure named cuspRideSummaryUpdate in the dbo schema that will update an existing record in the RideSummary table.

निर्देश

100 XP
  • The SP should accept input parameters for each RideSummary column and be named @Date and @RideHrs.
  • Make @Date parameter a date data type and @RideHrs a numeric data type.
  • Use UPDATE and SET keywords to assign the parameter values to the RideSummary record where the @Date matches the Date value.