如何编写存储过程? [英] How to Write Stored Procedure ?

查看:97
本文介绍了如何编写存储过程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

数据库中有6种不同类型的表。



表是:



列名相同('价格')所有表格中共同

表1:价格1 $,
表2:价格1 $,
表3:价格1 $,
表4:价格1 $,
表5:价格1 $,
表6:价格1 $,





I需要总计数IS + 6 $,



如何编写存储过程?

解决方案


表2:价格1



表3:价格1



表4:价格1

6 different type of tables in database .

Table Is :

Column Name is Same ('Price') Common In All Tables

Table 1: Price 1$,
Table 2: Price 1$,
Table 3: Price 1$,
Table 4: Price 1$,
Table 5: Price 1$,
Table 6: Price 1$,  



I need Total Count IS + 6$,

How to Write Stored procedure ?

解决方案

, Table 2: Price 1


, Table 3: Price 1


, Table 4: Price 1


这篇关于如何编写存储过程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆