![]() | |
#1
| |||
| |||
|
|
-----------------|-----------------|-----------------|---|-------------------| columns_mh1name_1|columns_mh1name_2|columns_mh1nam e_3|...| columns_mh1name_(n)| -----------------|-----------------|-----------------|---|-------------------| total_mh1name_1--|total_mh1name_2--|total_mh1name_3--|---| total_mh1name_(n)--| -----------------|-----------------|-----------------|---|-------------------| |
#2
| |||
| |||
|
|
like : |-----------------|-----------------|-----------------|---|-------------------| |columns_mh1name_1|columns_mh1name_2|columns_mh1na me_3|...| columns_mh1name_(n)| |-----------------|-----------------|-----------------|---|-------------------| |total_mh1name_1--|total_mh1name_2--|total_mh1name_3--|---| total_mh1name_(n)--| |-----------------|-----------------|-----------------|---|-------------------| so the output will create new column after inserting new row mh1 and mh2 just follow the top without alter the query(SELECT). is it possible to create it with stored procedure or function or else. |
![]() |
| Thread Tools | |
| Display Modes | |
| |