Hi all.............

I want to get the database error cord return by the database, to identify the error message and other messages.

I am using postgresql database, they have provided their error cords, but still I don’t have any idea about how to do this,

please any one can help me....

thank you.......

Never heard of any database returning error "cords", but if you mean error CODES the database documentation will tell you what each means (if it's good, if not find a good book about your specific database engine).

Normally you hardly need to worry about the exact codes as all of them mean something bad happened and your database operation failed :)
But they can help pinpoint the actual problem during development and having a reference can help a lot at times.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.