Generate sql only version 12.2

Hello

I am currently using VP version 12.2 and I need to generate the sql code. But only the sql code.
I do this with tools and then DB. after that i select the generate code. The problem is he always asks me to connect to a database. Even if I select code only.
Is there a solution for this?

thanks in advance!
Tuur

Hi Tuur,

Thank you for your post. Plese select Tools > DB > Generate DB to open the Database Generation window. Make sure the checkbox Generate DDL is checked. Then, click OK to produce the DDL file. You are required to select a database because different choice of DB vendors will produce different result of DDL. You can leave the connection settings unfilled though.

Best regards,
Jick Yeung