SQL Script - Help Wanted
Hi All,
I need some help in building a script generator. I have a table like below -
| Id | Attr_Name | Attr_Nr | Table_Name |
| 1 | Emp_Name | 1 | Emp |
| 2 | Emp_No | 2 | Emp |
| 3 | Emp_Add | 3 | Emp |
| 4 | Postion_id | 1 | Position |
| 5 | Position_Name | 2 | Position |
| 6 | Position_Level | 3 | Position |
I need to create scripts like this
put 'emp','1','details:Emp_Name','1'
put 'emp','1','details:Emp_No','1'
put 'emp','1','details:Emp_Add','1'
Any help is very much appreciated.