Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT - multiple SELECTs with single result set
Message
From
09/07/2006 12:24:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
07/07/2006 16:14:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01134421
Message ID:
01134784
Views:
19
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform