This question is locked. New answers and comments are not allowed.
Hi,
I have seen it before, but can't find it anywhere now. I've used this article:
http://docs.telerik.com/data-access/developers-guide/tracing-and-logging/data-access-tasks-tracing-and-logging-create-custom-trace-listener
But the SQL statements are shown with ? for the values. It should be possible to see the values, but how? Been looking for it this morning and yesterday...
Could you point me to the right direction?
Erik
Example:
I now get:
insert [App.Com].[ItemGroups] ([AutoNrFomat], [AutoNrNext], [Code], [Description], [IconId], [InternalTag], [ItemGroupDefinitionId], [ItemGroupStateId], [Name], [Number], [ParentItemGroupId], [SysAccountId], [SysAdminId], [SysDeleted], [SysTemplateId], [SysUniqueId])
output inserted.[ItemGroupId] into @generated_ids
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
I have seen it before, but can't find it anywhere now. I've used this article:
http://docs.telerik.com/data-access/developers-guide/tracing-and-logging/data-access-tasks-tracing-and-logging-create-custom-trace-listener
But the SQL statements are shown with ? for the values. It should be possible to see the values, but how? Been looking for it this morning and yesterday...
Could you point me to the right direction?
Erik
Example:
I now get:
insert [App.Com].[ItemGroups] ([AutoNrFomat], [AutoNrNext], [Code], [Description], [IconId], [InternalTag], [ItemGroupDefinitionId], [ItemGroupStateId], [Name], [Number], [ParentItemGroupId], [SysAccountId], [SysAdminId], [SysDeleted], [SysTemplateId], [SysUniqueId])
output inserted.[ItemGroupId] into @generated_ids
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)