day_of_week
Declaration
cstring function day_of_week(date D)
Description
day_of_week returns the name of day of the week for date D.
Example Stored Procedure
CREATE PROCEDURE test_day_of_Week (d DATE)
RETURNS (result char(20)) AS
BEGIN
result = day_of_week(d);
END!!
WISQL - calling the example stored procedure
execute procedure test_day_of_week("1/1/96");
RESULT
====================
Monday
execute procedure test_day_of_week("1/31/96");
RESULT
====================
Wednesday