我想为我的内部项目添加一个工具,例如查询生成器 [英] i want to implment one tool for my internal project as like Query Builder
本文介绍了我想为我的内部项目添加一个工具,例如查询生成器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想为我的内部项目添加一个工具,例如Query Builder.
请为此提出一些建议.
Hi,
i want to implment one tool for my internal project as like Query Builder.
please suggest some idea for that.
推荐答案
我了解您的问题.
NewTable维护empID,sql查询等.
步骤1)根据您选择的列/字段生成sql查询.
第2步)将生成的查询分配给变量.
第3步)将此变量与empID及其他信息插入到NewTable中.
步骤4),然后根据empID从NewTable中选择一个查询并生成报告
查看用户
下次,如果用户为同一雇员生成报告,请使用上表(NewTable)的更新语句.
我希望你明白了.
I understood your problem.
NewTable to maintain an empID,sql query & so on.
step 1) generate an sql query based on what column(s)/field(s) you select .
step 2) assign the generated query to a variable.
step 3) insert this variable in NewTable with the empID & what so ever.
step 4) then select a query from the NewTable based on the empID & generate report
to view the user
Next time if the user generate a report for the same employee, use the update statement for the above table(NewTable).
I hope you got it.
这篇关于我想为我的内部项目添加一个工具,例如查询生成器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文