HTTPRequestURIStem is the column contains file path, e.g. /webpage/default.aspx
SQL
-
REVERSE(SUBSTRING(REVERSE(REVERSE(SUBSTRING(REVERSE(HTTPRequestURIStem),0,
-
CHARINDEX(‘/’,REVERSE(HTTPRequestURIStem))))),0,
-
CHARINDEX(‘.’,REVERSE(REVERSE(SUBSTRING(REVERSE(HTTPRequestURIStem),0,
-
CHARINDEX(‘/’,REVERSE(HTTPRequestURIStem))))))))
This function will return “aspx” for “/webpage/default.aspx”.
NOTICE: I put the code in seperate lines for readablity.
Source: chenty
Hello! Please e-mail me your contacts. I have a question zachary@complective.ru” rel=”nofollow”>……
Thanks!…
Trackback by Frankie — June 11, 2010 @ 7:41 pm
Buy:Cialis Soft Tabs.Viagra Super Force.Viagra Professional.Soma.Propecia.Viagra Soft Tabs.Viagra.Cialis Super Active+.Viagra Super Active+.Maxaman.Cialis.Super Active ED Pack.VPXL.Tramadol.Levitra.Cialis Professional.Zithromax….
Trackback by RON — July 21, 2010 @ 2:46 pm