From: Marcos P. <msa...@gr...> - 2004-08-11 01:47:02
|
Is it possible to tell errors form warnings when working with SQL Server? There are some warnings (eg null value eliminated from aggregate) that I want to ignore. This could be based on the severity level of the message. Something like: def _servermsg_cb(ctx, conn, msg): #if msg.msgnumber not in (5701, 5703): if msg.severity: raise DatabaseError(_fmt_server(msg)) If not, it is not possible to execute 'sp_help mytable' on a table that has no views. It is funny that the program never ends, it hangs. |