Fixed "alter database custom" command
sql delete edge: improved execution by avoiding using query object
Studio: fixed encoding problem on saved queries