Comparing scripts with IBEBlock

 execute ibeblock
 as
 begin
   cbb = 'execute ibeblock (LogMessage variant)
          as
          begin
            ibec_progress(LogMessage);
          end';

   ibec_CompareMetadata('c:\myscripts\master.sql','c:\myscripts\subscriber.sql', 'E:\CompRes.sql','', cbb);
 end

Using the ServerVersion parameter:

 execute ibeblock
 as
 begin
   cbb = 'execute ibeblock (LogMessage variant)
          as
          begin
            ibec_progress(LogMessage);
          end';

   ibec_CompareMetadata(MasterDB, SubscriberDB, 
                        'E:\CompRes.sql', 
                        'OmitDescriptions; OmitGrants; ServerVersion=FB1?', 
                        cbb); 
 end

See also:
Extract Metadata

back to top of page
<< Comparing databases using IBEBlock | IBEBlock | Copy table >>