Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2013
    Posts
    1

    Default Comparing blocks of code in a text file

    I am trying to compare stored procedures that have been scripted to a flat file. When you change some code it works great. you can see the change. If you move that code somewhere else in the file it looses all reference to compare. I know in excel you can select a key field which works great. Is there a way to make blocks around the scripted data so Beyond compare could key off of that? This way if something moves or changes entirely it shows up.

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,787

    Default

    Hello,

    BC3 does not currently detect a section of code as moved, but it is something on our wishlist.

    We have a few alternative Formats which can tidy the syntax or sort your files, which then allows them to be easily compared. We have a Java Tidied example for download on our website:
    http://www.scootersoftware.com/downl...oreformats_alt

    And another KB article that goes into detail using a custom solution, here:
    http://www.scootersoftware.com/suppo...rnalconversion
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •