Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting XML from SQL Server
Message
De
24/09/2003 09:56:58
 
 
À
24/09/2003 09:41:59
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00831714
Message ID:
00831814
Vues:
23
>Bob,
>I have done that before :) If you need evidence a simple one :
>
>
>CREATE PROCEDURE Cusdetails @cCustomerID nchar(5) AS
>SELECT Customers.CustomerID, ContactName, CompanyName,
>       Orders.OrderID, OrderDate
>FROM Customers, Orders
>WHERE Customers.CustomerID = Orders.CustomerID
>AND Customers.CustomerID = @cCustomerID
>ORDER BY Orders.OrderID
>FOR XML AUTO
>GO
>
>
>lnHandle = ...
>m.customerID = 'BONAP'
>SQLExec(lnHandle, 'Exec CusDetails ?customerID','SPResult')
>
Returns just one row with one field.
>Cetin

Ok... well, you are only getting one record, and it may all fit into on field in one row. Take out the AND so you get ALL records and see what you get.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform