Stored Procedure Generator Generate production-ready stored procedures for PostgreSQL, MySQL, and SQL Server with proper error handling, transaction management, and security best practices. Prerequisites - Database connection credentials (host, port, database, user, password) - Appropriate permissions: CREATE PROCEDURE, CREATE FUNCTION, EXECUTE - Target database type identified (PostgreSQL, MySQL, or SQL Server) Instructions Step 1: Identify Database Type and Requirements Determine the target database and procedure requirements: Step 2: Generate Stored Procedure PostgreSQL Function (PL/pgSQL)…