exec master..dbd_del_login [@id int]

This function permanently deletes login information by id shown by dbd_list_login. You need to run it in the context of a database. If the database is encrypted and locked, you need to unlock it first. Changes made by the function are saved permanently.

Return Code Values

0 for success otherwise failure