cómo aplicar la relación padre-hijo en mi sitio web a través de sql
Frecuentes
Visto 44 veces
0
scenario is like
customer_profile
parent child
100 101
100,101 102
100,101,102 103
i have a problem i have chaining system in my asp.net website,when a record has inserted each time it's parent is selected by dropdown list, i want it'll go to various level it's parent of parent's will be concatenated thru sql. please tell me how to design stored procedure for this chaining. Thanks in adv
0 Respuestas
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas sql sql-server-2008 or haz tu propia pregunta.
Schema/sample data would go a long way toward making this question clearer. - dazedandconfused
i means every time when record insert it' s all grand parent add to its parent name - user2922694
so child column is updated with the selected value from the dropdown list and the parent column updates with all the parent names in order? - Aritra B