Every time I try to get the DDL of a table, I got this error
Cannot create temporary table '#tmp'. Prefix name '#tmp' is already in use by another temporary table '#tmp'.
There is already another cursor with the name 'ccolumn' at the nesting level '0'.
There is already another cursor with the name 'cindex' at the nesting level '0'.
There is already another cursor with the name 'indexes' at the nesting level '0'.
There is already another cursor with the name 'cprotect' at the nesting level '0'.
Attempt to insert duplicate key row in object '#tmp00000450018282794' with unique index '_tmp_19748930791'
How can I solve it ?