SyntaxFix
Write A Post
Hire A Developer
Questions
You can do this:
select t2.* from t1 join t2 on t2.url = 'site.com/path/' + CAST(t1.id AS VARCHAR(10)) + '/more' where t1.id > 9000
Pay attention to CAST(t1.id AS VARCHAR(10)).
CAST(t1.id AS VARCHAR(10))