#9849 Replace to DBAPI functions  1 step