General information
Title:
Datepart(week,date)
Environment versions
Network:
Windows 2003 Server
Hi,
we are using SQL-Server 2000 with Visual Foxpro. Is there any equivalent function for VFP-Function:
WEEK(dExpression | tExpression [, nFirstWeek] [, nFirstDayOfWeek])
in SQL-Server?
I know datepart(week,date)-Function, I can set datefirst to 1 (monday for german standard), but I can't set any equivalent like nFirstWeek in VFP (I want that the first week has seven days, so 3 in VFP).
Bye,
Andreas
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only