>>>>>> >> >>To SQL server it's valid. IOW with a sample from pubs: >> >>
>>selectdistinct au_fname,au_lname, phone, right(phone,4) as PhoneNo
>> from Authors
>> orderby PhoneNo,Phone
>>
is valid. >>Cetin > >So Microsoft is being pretty inconsistent here.
That's why I'll take this opportunity to mention yet again that VFP's using some field to prototype the field's length for the WHOLE cursor/table is also highly silly AND inconsistent with SQL Server too.