In error handling suppose if the database already exists..
It is returning : database "sample(say)" doesn't exists.
If i want to return general error messages with out specifying names how can i?
Tell me where can i get the error codes for this instead of messages and how can i retrieve error no instead of printing message?