ODBC guide

Get comment by ID for a work item


Returns one comment by its ID for a given work item. Filter by both WorkItemId and Id to retrieve a single comment row. Use when you need to update or reference a specific comment.

SELECT * FROM WorkItemComments 
WHERE WorkItemId=6455 and Id=5283490