I have 2 tables.
One of the tables has the data I need to know which user input it. On the table I have a column name called owner_m, when I run the data import for some reason my sistem is bringing me instead of the user_names the id_user_numbers that is store in tbluser table.
I need to update my data table with the users name and I have the following query for that:
FROM A INNER JOIN
tblUser ON cast(A._owner_m as int) = cast(tblUser.aUserID as int)
owner_m is a varchar and User id is an int. Thats why Im using the cast option.
But for some reason the query is giving me the same user id for all the fields as follows:
Im asumming is because the data type and I already fix that with the cast function.
I dont know what else to do, please help!!!