CREATE TABLE #TargetDateTblxC(IssueID VARCHAR(100), TargetDate VARCHAR(100)) INSERT [#TargetDateTblxC] SELECT issueid, [fielddata] AS TargetDate FROM rndbug.dbo.gemini_customfielddata WHERE customfieldid = 215 AND LEN(fielddata) > 0 AND SUBSTRING(fielddata, 5, 1) = 8 --how do i write behind the SUBSTRING(fielddata, 5, 1) without having to write like '+@month+'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)