techytechy
MIS
Hi guys,
In our company we have been using prompts in the derived tables. Derived table would return Single final select statement. Now that report requirements are complex we would have to use table variables, UDFs, and many select, delete, update statements. How should we handle many such statements in a derived table to return a result set for the report?
If we cannot handle many selects in a derived table, I am hoping to use Table-Valued Function in the derived table something like this:
select * from myFunction()
create myFunction()
Returns Table as (......)
But then I should be able to use the user input prompts in the syntax: @PROMPT('test1','A',Multi,,). The user would input 5 such prompts from the report.
Any ideas from anyone who has used Prompts, UDFs in a derived table?
Environment: BO X1r2, Crystal x1r2, sql server 2005
Thanks !
In our company we have been using prompts in the derived tables. Derived table would return Single final select statement. Now that report requirements are complex we would have to use table variables, UDFs, and many select, delete, update statements. How should we handle many such statements in a derived table to return a result set for the report?
If we cannot handle many selects in a derived table, I am hoping to use Table-Valued Function in the derived table something like this:
select * from myFunction()
create myFunction()
Returns Table as (......)
But then I should be able to use the user input prompts in the syntax: @PROMPT('test1','A',Multi,,). The user would input 5 such prompts from the report.
Any ideas from anyone who has used Prompts, UDFs in a derived table?
Environment: BO X1r2, Crystal x1r2, sql server 2005
Thanks !