I have two tables from which I select a field of each for the query and fill in the datagrid only that gives me error because the id is in int type and the other is a string of type varchar in which it has several ids registered.
It's sql server 2012 and the error
Thanks in advance and alanfcm I did not know about what would be the best option and the query is:
SELECT dbo.Temporal_Price.Place_Id, dbo.Temporal_Price.Gas_Price,
dbo.Temporal_Price.Tipo, dbo.Temporal_Price.Update_Time
FROM dbo.Cliente INNER JOIN
dbo.Temporal_Price ON dbo.Cliente.Id_Com1 = dbo.Temporal_Price.Place_Id