I've got two tables that I need to match data, the part that has me stymied is that in table1 there is a field that can hold 1 to 3 codes, that will match up against table 2.
Table 1
----------
Schedule_Date (DateTime)
Work_Order_Num (nchar(8))
FCode (nvarchar(9)) <--- 3, 3 character codes
Table 2
-----------
FCode (nchar(3))
FCodeDescriptio n (nvarchar(100))
What would be the best way of going about this query?
Dallas
Table 1
----------
Schedule_Date (DateTime)
Work_Order_Num (nchar(8))
FCode (nvarchar(9)) <--- 3, 3 character codes
Table 2
-----------
FCode (nchar(3))
FCodeDescriptio n (nvarchar(100))
What would be the best way of going about this query?
Dallas
Comment