Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling VFP 9 function?
Message
 
 
To
28/02/2020 19:35:28
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
01673255
Message ID:
01673264
Views:
48
Likes (1)
>>>>Hi,
>>>>
>>>>Is it possible to call a VFP function from a SQL stored procedure? (or a VFP method of a class) If yes, how?
>>>>
>>>>TIA
>>>
>>>I don't think it's possible. You can create C# CLR function which can be called from SQL Server.
>>
>>Thank you.
>
>Dmitry (and Naomi)
>
>I have no experience with this, but I think that it is possible for an SQL Server to consume objects from a COM server.
>
>MS Docs: https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/ole-automation-stored-procedures-transact-sql

Antonio,
I prefer not to use a COM server (for various reasons). And since Naomi says it is not possible, I will start working on creating a stored procedure that will do what a VFP class method does. I know it will be a challenge but in the long run, it will be a better approach.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform