Document Url From Database

Is there a way to retrieve the actual url to a content record from the database. I am writing a Alpha Tagged list webpart and I am having issues with  content since the blob field is longer than I can read in SQL.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

The SQL function

The SQL function dbo.asi_PublishedDocumentPath(DocumentVersionKey) will give you the full path to the content record. Just replace the @ with ~ and append .aspx to get the root-relative path to the published ASPX file.

Eric Means
System Architect, ASI

Thanks Eric

What would we do without you. Thanks again.

Broc