Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can field in SQLTP view be date if base field is datetim
Message
 
 
À
05/06/2002 16:38:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00664301
Message ID:
00665155
Vues:
22
>>>Suppose you have a SQLPT view that includes a datetime field from a SQL Server table. Suppose also that you want the field in the view to be of type Date, not datetime. Can it be done?
>>>
>>
>>You can use ALTER TABLE command if there're no fields in the cursor with name longer than 10 charcters.
ALTER TABLE mySPTcursor ALTER COLUMN mydatetime D
>
>Sergey,
>
>Thanks for what sounds like a wonderful idea. Unfortunately it causes error 1525, "Function is not supported on remote tables", even though I am trying to change the view, not the table. Anything I missed?

Unfortunately, ALTER TABLE doesn't work with SPT cursor. Sorry for confusion.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform