So this is probably going to be a pretty noobish question, but I tried to summarize as easily as possible in the pictures. Basically I would like system to check this table for an existing record for this work order and retrieve the part number from that table. When I run the change script to detect an entered work order and retrieve the corresponding part number, I get a dataset instead of a single value. How do I tell my SQL to only retrieve the part number and not the column heading?
Also, I would like to make sure that if this returns a null value, that the script does not execute. What would I alter with my change script to make this so?
thanks!