Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disappearing ?
Message
De
24/10/2001 18:02:08
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00572896
Message ID:
00572933
Vues:
22
Nice. We had already changed the code but that is good to know.

>You can use single or double quotes to fix this problem. My guess would be that SQL Select parser doesn't process string encloused in [] delimiters properly
>Select ;
>     "a?b" as Url ;
>   From < table >
>* or
>Select ;
>     'a?b' as Url ;
>   From < table >
>
>
>>On of our SQL statements has a field which contains a "?".
>>
>>I ran a simple test.
>>
>>
>>Select ;
>>     [a?b] as Url ;
>>   From < table >
>>
>>
>>The question mark disappears. Below fixes the problem.
>>
>>
>>Select ;
>>     [a] + Chr(63) + [b] as Url ;
>>   From < table >
>>
>>
>>I'm betting this has been documented already. What is the reason for this behavior?
>>
>>TIA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform