Skip to main content
Declined

Sql generation for table


In the data model generate and create the table tags for one table and display the sql script to synchronise to a database.

Did this topic help you find an answer to your question?

6 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Peter,

Can you elaborate on what exactly is your idea? From the text it's not fully clear to me what you are missing.


Forum|alt.badge.img+1

In the screen below extra tab “SQL” where i can find the create table script (in case of a new table it's very nice not needed to generate the complete sql script for testing. 

 

 


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Peter,

Do you mean like this?: 

Functionality detail tab - remove "Contains logic” prefilter

I believe this is more or less what you are looking for.

Do keep in mind that running this Create table statement on your end product will lead to the Upgrade failing as the table already exists; unless you try this in a Testing environment that does not get upgraded via the Software Factory but rather by hand.


Forum|alt.badge.img+1

Dear Mark,

Yes something like your screen. The functionality the see the create table is only to create/update the testing environment for only this table in stead to need to do manually or create the entire script.

Then you can test the things on the way Thinkwise creates the table in the database.


Mark Jongeling
Administrator
Forum|alt.badge.img+23
Updated idea statusNewDeclined

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Peter,

I have discussed this internally. We decided to decline this idea as this does not match with the conventions of working with the Software Factory. Creating objects by hand will result in the Software Factory not being able to successfully Upgrade the database of your project. There are a couple ways you can obtain the code you are looking for as I have described in my previous replies, but we do not want to extend support further.

We encourage you to create a new version and use smart upgrades to Upgrade your databases accordingly. This will also ensure that your project and your database are in sync with each other.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings