PostgreSQL Python: Call PostgreSQL Stored Procedures

preview_player
Показать описание
1. Create a new database connection to the PostgreSQL database server
2. Create a new cursor.
3. Pass the name of the stored procedure and the optional input values
4. Call the commit() method to commit the transaction
5. Call the close() method of the cursor and connection objects
Рекомендации по теме
Комментарии
Автор

Sir
Thank you 🫡,
How can we handle error in store procedure by using try - catch,
Need to show error in application
If i get any error need to roll back transaction, other wise commit transaction can u pls do procedure like this ?
How can handle MSSQL Merge Function
In PostGresql can u pls help me

shamilpm
welcome to shbcf.ru