695
社区成员
发帖
与我相关
我的任务
分享DECLARE @html VARCHAR(200)
DECLARE @id VARCHAR(10)
SET @html='http://localhost:8080/Reports/Pages/Folder.aspx?ItemPath=%2f%e6%8a%a5%e8%a1%a8%e9%a1%b9%e7%9b%ae1&id=1111111111'
SELECT RIGHT(@html,len(@html)- CHARINDEX('&id=',@html)-3)
exec('select * from sl_pm_project where project_id=' + @id)