G
Guest
Hi,
I wanted to find out how one can get the query (the actual SQL statement) in
a TVF that is calling the said TVF?
Example:
select * from SOME_TVF() where blah...
SOME_TVF()
{
// Something like......
string query = GetCallingQuery()
//now query = "select * from SOME_TVF() where blah..."
}
Thanks,
Sandeep
I wanted to find out how one can get the query (the actual SQL statement) in
a TVF that is calling the said TVF?
Example:
select * from SOME_TVF() where blah...
SOME_TVF()
{
// Something like......
string query = GetCallingQuery()
//now query = "select * from SOME_TVF() where blah..."
}
Thanks,
Sandeep