|
326
|
|
- var dt = DB.DbHelperSQL.Query("select a.*,(select stuff((select ',' + stuff(F_FileName, 1,19,'') from T_Sys_Accessories where F_FileId in (select col from dbo.SplitToNvarchar(a.F_File,',' )) for xml path('')),1,1,'')) for xml path('')),1,1,'')) as fileurl,'F'+ RIGHT ('00000'+CONVERT (varchar(10),a.F_Id),6) as xh from T_Wiki_Functions a with(nolock) where a.F_Id=" + id).Tables[0];
|
|
|
326
|
+ var dt = DB.DbHelperSQL.Query("select a.*,(select stuff((select ',' + stuff(F_FileName, 1,19,'') from T_Sys_Accessories where F_FileId in (select col from dbo.SplitToNvarchar(a.F_File,',' )) for xml path('')),1,1,'')) as fileurl,'F'+ RIGHT ('00000'+CONVERT (varchar(10),a.F_Id),6) as xh from T_Wiki_Functions a with(nolock) where a.F_Id=" + id).Tables[0];
|