there are two stored prcedure created
jnk - which displays current date
jnk1- which diplays the current version of sql server
created two virtual tables
jnk and jnkversion
following are their respective scripts
jnk.select
function Main(SQApplication, Database, SelectStatement, CursorName)
' create a result set into XML
Main = XMLResults
Main = Database.ExecuteSQLStatement("exec [jnk]")
end function
jnkversion.select
function Main(SQApplication, Database, SelectStatement, CursorName)
' create a result set into XML
Main = XMLResults
Main = Database.ExecuteSQLStatement("exec [jnk1]")
end function
both stored proc through virtual table runs fine individually.
but combined report results into error |