Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Max Date
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00701361
Message ID:
00701367
Views:
18
See Re: Show maximum of 3 columns Thread #557471 Message #557488

>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
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform