SQL query sends results into cursor named tmp. If at the moment some table with name tmp is open, error message “Alias name is already in use” appears, regardless to “SAFETY” setting. In given context existing tmp table could be closed or even deleted.
I understand that:
- well behaved programmer destroys unused tmp cursors immediately,
- some unique name for cursor can be used.
- is possible to check whether tmp exists before SQL query and use other name
Nevertheless I’d like to know, how professionals are dealing with a such situation.
Thanks, Tom
I understand that:
- well behaved programmer destroys unused tmp cursors immediately,
- some unique name for cursor can be used.
- is possible to check whether tmp exists before SQL query and use other name
Nevertheless I’d like to know, how professionals are dealing with a such situation.
Thanks, Tom