How do I delete an Attachment?
Moderator: SourceGear
How do I delete an Attachment?
I accidently added the wrong attachment and now need to delete it. Do I have to go into SQL server and manually delete?
A better way to do handle this would be through the stored procedure.
Assuming you know your :
a) User's ID (SELECT uid, name FROM sgdragnet.dbo.users)
b) Message / Attachment IDs (SELECT filename, msgid, attid FROM sgdragnet.dbo.attachments )
Call
Assuming you know your :
a) User's ID (SELECT uid, name FROM sgdragnet.dbo.users)
b) Message / Attachment IDs (SELECT filename, msgid, attid FROM sgdragnet.dbo.attachments )
Call
Code: Select all
EXEC sgdragnet.dbo.spdeleteattachment @uid, @msgid, @attachmentid
Jeff Clausius
SourceGear
SourceGear