Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hitting a temp table in a pass-thru query
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01355354
Message ID:
01355371
Views:
27
>>>On a side note is calling functions in the select clause in Sql just as costly as in Fox?
>>
>>Yes.
>
>I disagree.
>
>If functions are written well and are optimized, they can be very efficiently used in SQL Server queries.
>
>I've written very complicated reports that used functions (many that are compounded - function calling function) for almost every column of report data that are extremely fast (much faster than could have been accomplished in VFP on a subset of data that didn't exceed VFP's capacity).
>
>The functions have to be tuned well, otherwise yes - you'll have crappy performance.

There's a lot of overhead on a call to UDF itself which cannot be eliminated by any tunning.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform