|
<< Click to Display Table of Contents >> Complex comment sample |
![]() ![]()
|
To test the PdxEditor capacity to preprocess multiple complex commenting including also single line comments, the following sample may be used as a test script sample and modified as desired for further testing also on error trapping.
-- CREATE TABLE TableA (dummy INTEGER); -- < do lift commenting if needed |
The error trapping "/* ..." and "*/" as indicated by red, are added to show how the pre-processing reacts to script comment errors.
Removing the "/* ..." and "*/" as indicated by red, the script should pass the PdxEditor pre-processing.
The script sample has also been tested with MySQL, and passes providing deleting (or -- single line commenting) the line 11 from '*/'.
Note: See Mixed multi/single line comments concerning MS SQL Server.
__________________________