Working on table Valued Function Query. Which is eating about 70% of the whole query execution time. Need some help in fine tuning it.
INSERT INTO #XMLTAB
SELECT ID,CAST(tab.tabxml as xml).value('(/Root/Element)[1]', 'varchar(100)')
FROM tab
WHERE TabScore= 36
Ref :
#XMLTABis Temp table.Tabis table name in database.tabxmlColumn holds xml filetabscoreis another column.
Thanks In Advance.