NickMalloy
Programmer
I have the following query where the inner select is creating an error saying "Syntax error converting the varchar value 'January ' to a column of data type int.
How can I fix this??
Select
title,
story,
startdate,
enddate,
(select monthName from tblMonths where datepart(month, tblArticles.startdate) = tblMonths.monthNumber) as monthName,
url,
islink
from tblArticles
How can I fix this??
Select
title,
story,
startdate,
enddate,
(select monthName from tblMonths where datepart(month, tblArticles.startdate) = tblMonths.monthNumber) as monthName,
url,
islink
from tblArticles