Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7552527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:46:44+00:00 2026-05-30T10:46:44+00:00

I’m working on an oracle database which has a package with some stored procedures

  • 0

I’m working on an oracle database which has a package with some stored procedures already defined and declared.

I need to add some new stored procedures and type definitions to it, which I have already done in developement environment using sql developer tool and working directly on the package.
But now, in order to pass it to the next environment I need to provide an sql script to add my changes to tests environment.

The only way I found to do this is to make an sql script to CREATE OR REPLACE all package information and not only my changes. And I’m afraid that the environment where I’m making this deploy is not a copy of the development one.

Any help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T10:46:46+00:00Added an answer on May 30, 2026 at 10:46 am

    If the package code in your test environment is not in sync with the code in your development environment, that’s really something you need to address before you start working on any code changes to the development version of the code. In other words, you would want to make sure the development version of the package matches test, and then make your changes.

    You are correct that CREATE OR REPLACE PACKAGE is the way to write the script, but you’ll need to be sure to do this for both the package specification as well as the package body, so 2 commands will be needed.

    Since you’ve already made the changes in development and you’re not sure if the version you started with in development matches test, see if your DBA can give you a copy of the package spec and body from test, then you can run a diff on the code for development vs. test to find out the differences. You’ll have to sync any differences back into your development version before promoting the code to test.

    One handy tool I like for doing a graphical diff operation is diffmerge, and you can find it here: http://www.sourcegear.com/diffmerge/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my XML file chapters tag has more chapter tag.i need to display chapters
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
Basically, what I'm trying to create is a page of div tags, each has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.