We are using the SQL Server provider for logging AppFabric WF tracking data, and it appears to be truncating variable values at 318 characters when extracting values from the staging table. Is there a reason for this length being used, as opposed to, say,
T.p.value('@name', 'nvarchar(128)') as [Name],
T.p.value('@type', 'nvarchar(128)') as [Type],
case T.p.value('@type', 'nvarchar(128)')
when N'System.Char'thencast(T.p.value('.', 'nvarchar(318)') assql_variant)
Our application has some variables that are XML datatypes and are longer than 318 characters.
Edited bywongnationMonday, December 19, 2011 6:05 PM
I am not sure why this is being used and this sounds like an unusual value for the length of the tracking property. I can submit your question on the Connect site for AppFabric. As far as I know this forum is not actively monitored by Microsoft.
If this answers your question, please use the "Answer" button to say so | Ben Cline
Marked as answer bywongnationTuesday, December 20, 2011 9:20 PM
Unmarked as answer bywongnationTuesday, December 20, 2011 9:20 PM