General information
Category:
Visual FoxPro Beta
Title:
Nossas stored procedures podem retornar result set´s !!
Não sei quantos esperavam por isso, mas um pequeno "grande" recurso que eu adorei no VFP 9, foi a função SETRESULTSET( ) !
Com ela é possivel retornar registros de stored procedures do VFP para outros aplicativos que acessam o DBC via OleDB, da mesma forma que podemos fazer com o SQL Server...
Basta colocar: return SETRESULTSET("meu_cursor")
Desta forma poupa um pouco o trabalho de ficar gerando XML para consumir por outra camada / aplicativo, quando usa-se as procedures do DBC !
Excelente !!!
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only