Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datepart(week,date)
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Datepart(week,date)
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00991174
Message ID:
00991174
Views:
52
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
Map
View

Click here to load this message in the networking platform