J
John Mamani
Hi,
I have a table with the following info: Work Orders and tasks, I need to
setup the parent task: task 20's parent is task 10, etc, etc, etc
id, wo, task, parent
1, 2345-1, 10, null
2, 2345-1, 20, null
3, 2345-1, 30, null
4, 5432-1, 10, null
5, 5432-1, 20, null
How do I convert it to................
id, wo, task, parent
1, 2345-1, 10, 1
2, 2345-1, 20, 1
3, 2345-1, 30, 2
4, 5432-1, 10, 1
5, 5432-1, 20, 4
Thank you all,
Bre-x
I have a table with the following info: Work Orders and tasks, I need to
setup the parent task: task 20's parent is task 10, etc, etc, etc
id, wo, task, parent
1, 2345-1, 10, null
2, 2345-1, 20, null
3, 2345-1, 30, null
4, 5432-1, 10, null
5, 5432-1, 20, null
How do I convert it to................
id, wo, task, parent
1, 2345-1, 10, 1
2, 2345-1, 20, 1
3, 2345-1, 30, 2
4, 5432-1, 10, 1
5, 5432-1, 20, 4
Thank you all,
Bre-x