>>>>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-sqlAntonio,
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