Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored procedures parameters, like a cursor or data stru
Message
De
29/08/2005 10:34:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01040382
Message ID:
01044761
Vues:
13
Thanks Sergey,

We are dealing with a problem and blank fields. The whole record is sent from VFP into the XML structure, but OPENXML is returning errors regarding blank fields: Unexpected NULL value returned for the column : ProviderName=OPENXML, etc.
This is because we are opening the XML structure this way:
SELECT * From OPENXML(@idocIN, @xpathIN) with MyTable' and MyTable has Null restrictions.
It seems that blank fields don't "pass" to SQL.

How can we force the blank fields to be passed in the XML data? By using different flags we don't get success.

Thanks.





>Take a look at Re: Sending a list from vfp Message #829213. It should give you a basic idea how to pass XML to SP and process it there.
>
>>Thanks Sergey.
>>
>>I will Try.
>>
>>
>>>T-SQL doesn't allow parameters of a table type but you can pass XML.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform