Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to CAST empty string into memo for SQL?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01531130
Message ID:
01531131
Vues:
104
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>I think I have known this (or asked this before) but forgot (sorry). How do I cast an empty string into a memo type column when sending SQL Select to SQL Server? For example, in VFP I would do it like the following:
>
>
>select *, cast( '' as MEMO) As MyMemoFld from MyTable
>
>
>What should be in place of MEMO in the case of SQL Server? TIA.

VARCHAR(MAX) or NVARCHAR(MAX)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform