Quantcast
Channel: SCN: Message List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 2182

Compare DB schemas problem - v16

$
0
0

Hello, all

The otherwise excellent feature of "Compare DB schemas" seems to have an issue (checked on the latest build as well):

 

Procedures, functions and triggers, which have a nested "if .. end if" condition are falsly flagged as different.

 

for example, the following code is always falsely compared, even if ran in ISQL exactly as it is:

 

//------------------

if x = 1 then

     if y = 1 then

          set z = 0;

     end if;

end if;

//-------------

 

The problem appears to be that when being run in ISQL the resulting code almost always becomes:

//-----------------

if x = 1 then

     if y = 1 then

          set z = 0;

     end if end if;

//---------------

 

The only workaround I could find so far is to add a comment between the 2 "end if"s.

I hope there can be something better

 

Thank you

Arcady Abramov


Viewing all articles
Browse latest Browse all 2182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>