Posts Tagged: My Stuff

Parse Paths in SQL

Just a couple of udf to handle paths in sql server, not very solid but if your paths are valid they work well. CREATE FUNCTION dbo.GetFileName (@Path varchar(512)) RETURNS varchar(255) AS BEGIN Return RIGHT(@Path, LEN(@Path) – dbo.LAST_INDEX(@Path, ‘\’)) END

JQuery carousel plugin

This is the start of a jQuery carousel. I’ve used a few carousels but they require a lot of css editing to get them to change widths etc. I wanted one that could easily adapt to displaying different numbers of…Continue Reading →