declare @Text varchar(max); set @Text =1016 SELECT DISTINCT o.name AS Object_Name,o.type_desc FROM sys.sql_modules m INNER JOIN sys.objects o ON m.object_id=o.object_id WHERE m.definition Like '%'+@Text+'%'
function clickCellTest() { alert(this.id); } window.onload = function MaheshTest() { var ab = document.getElementsByClassName('tbodyClass')[0];
ab = ab.getElementsByTagName('td'); for (var i = 0; i < ab.length; i++) { var element = ab[i]; element.addEventListener("click", clickCellTest, false); } }