Question : T-SQL Children of Parent Record

I have a database table that contains a parent item number and a child item number.

I need some T-SQL code to get all children of a given parent.

For example, the rows in the table would look something like this:

Parent     Child
AAA        BBB
BBB         CCC
CCC         DDD
DDD         EEE

I need a query that allows me to enter the parent item number, such as AAA and get a list of all Children Item Numbers (BBB, CCC, DDD, EEE etc.)

Help please.        

Answer : T-SQL Children of Parent Record

Yep...and even better...no moving of VMs is required then. All you need to do is power down the VMs from your ESXi3.5 host, right-click on them, and select 'Remove from Inventory'. (DO NOT SELECT TO DELETE THEM FROM DISK) When you have your new host built up and the same datastore connect to it, browse to the VM folders and 'Add them to Inventory' as I stated above. So, no moving of VMs will be required.

~coolsport00
Random Solutions  
 
programming4us programming4us