select name, is_logging, is_buff_log, is_ansi, is_nls from sysdatabases;
