Hi I am selecting data from 2 tables , the join condition i can have is on two different datatype coloumns, but the data in both the columns is same...I get this error for below statement, "The data types text and nvarchar are incompatible in the equal to operator."Here is my statement select a.Jobname,b.EC_JOB_NAME,((a.ByteCount)/1024) from a,b where a.Jobname = b.EC_JOB_NAMEand a.Action='COPY'
The datatype of Jobname is text and datatype of ec_job_name is nvarchar, i dont have the control to change the datatypes of these columns , how do i handle this...Please Help