Stored Procedure

You can also use Bytebase to change stored procedures by supplying the raw SQL. Same apply for triggers.

  1. Go to a project, select a target database, then Edit Schema. edit-schema

  2. In the popup, switch to Raw SQL and supply the SQL statement. The example below adds a stored procedure to reverse the string. input-raw-sql

  3. Create the rollout issue. create-issue

  4. Review and rollout the issue. apply-change

  5. Check the change history that records the change statement and the schema diff. view-history

Edit this page on GitHub

Subscribe toย Newsletter

By subscribing, you agree with Bytebase's Terms of Service and Privacy Policy.