Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Max Date
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Max Date
Miscellaneous
Thread ID:
00701361
Message ID:
00701361
Views:
52
I need to create a cursor which has the max date from four date fields in the table, but the following code won't work.

Any idears?

Thanks

John


SELECT Field1, Field2, MAX(Date1,Date2,Date3,Date4) AS Date;
FROM Table ;
INTO CURSOR TempTable
<\PRE>
Next
Reply
Map
View

Click here to load this message in the networking platform