A time range example  Dropping a named time range

Chapter 1: Limiting Access to Server Resources

Modifying a named time range

Use sp_modify_time_range to:

For syntax and detailed information, see sp_modify_time_range in the Reference Manual.

For example, to change the end day of the business_hours time range to Saturday, retaining the existing start day, start time, and end time, enter:

sp_modify_time_range business_hours, NULL, Saturday, NULL, NULL

To specify a new end day and end time for the before_hours time range, enter:

sp_modify_time_range before_hours, NULL, Saturday, NULL, "08:00"

NoteYou cannot modify the “at all times” time range.





Copyright © 2005. Sybase Inc. All rights reserved. Dropping a named time range

View this book as PDF