Editing the Contains.sql unit test file

About this task

Although you are not setting breakpoints and debugging these DataBlade® modules, using the DBDK Visual C++ Add-In and the unit test files is the easiest way to run SQL statements for your DataBlade® module.

To edit the Contains.sql file:

Procedure

  1. In Visual C++, open the Contains.sql file under the Test Files node in the File view.
  2. Find and select the following SQL statement:
    EXECUTE FUNCTION Contains( '6543.21 6543.21_ 6543.21 '::Circ, 
    '6543.21 6543.21 '::Pnt);
  3. Replace it with the SQL statements in the interface.txt file.
  4. Save the changes to Contains.sql.