How can we help you today? How can we help you today?
wdevine

Activity overview

Latest activity by wdevine

Hi Brian, Sorry I didn't get back to you quickly. I was travelling. Here's the spRankDataSet script that you asked for. Also, if you'd like the whole db schema, give me an email you'd like it sent to. Let me know if you need any other information. Thank you, Bill CREATE Procedure [dbo].[spRankDataSet] ( @E bigint, @T int = sfEntityTypeVisualizerValue -- default, this is the typeId for Visualizer ) as -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; SELECT e.EntityId as FkItemEntityId, cast(count(wd.WordText)*avg(cast(ww.XLoc as numeric(9,4))) * 0.01 as numeric(9,4)) as ComparisonValue, null as ComparisonSlice INTO #DataSet2 FROM #DataSet ds INNER JOIN Entity e ON ds.FkItemEntityId = e.EntityId INNER JOIN WordDef wd INNER JOIN WordSelection ws INNER JOIN #entityWords ww ON ws.WordId = ww.WordId ON wd.WordID=ws.WordID ON ws.EntityID = e.entityid where wd.WordText in (select t.WordText from #entityWords t) group by e.entityid Update ds Set ComparisonValue = ds2.ComparisonValue From #DataSet ds JOIN #DataSet2 ds2 on (ds.FkItemEntityId = ds2.FkItemEntityId) drop table #DataSet2 GO / comments
Hi Brian, Sorry I didn't get back to you quickly. I was travelling. Here's the spRankDataSet script that you asked for. Also, if you'd like the whole db schema, give me an email you'd like it sen...
0 votes
EXEC sproc
Hello, I have a stored procedure that EXECs another stored procedure like this: EXEC spRankDataSet @EntityId, @TypeID But for some reason, the stored procedure that has this above code doesn't show...
2 followers 4 comments 0 votes