Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SPT - multiple SELECTs with single result set
Message
De
09/07/2006 12:24:05
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
07/07/2006 16:14:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01134421
Message ID:
01134784
Vues:
21
>Hi Kevin,
>
>I am not free to assume that I will be able to add/update stored procedures on client sites. This is not for an in-house system, but rather for one sold broadly.

You can create a stored procedure from Fox...
text textmerge to lcScript noshow
ALTER PROCEDURE GetDetailCount(@Num1 int)
As
	SELECT Count([ItemNo]) AS CountOfItemNo FROM Detail WHERE [OrdNr] = @Num1 GROUP BY [OrdNr];
	return 
endtext
sqlexec(Haendel, lcScript)
IOW, creating a SP is just another SPT script. It's only a matter of rights - but I figure your app would have sufficient rights if it were to do the rest of the stuff anyway.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform