| | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Yesterday @ 7:29:55 PM Posts: 1,168, Visits: 2,931 |
| | So, one more question. If I don't define any views or sprocs in DDT, will it still delete all existing views/sprocs in the database? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 8:12:17 AM Posts: 4,243, Visits: 4,288 |
| | They get deleted and recreated every time. |
| | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Yesterday @ 7:29:55 PM Posts: 1,168, Visits: 2,931 |
| | Just be absolutely clear (as this is NOT something I want to make a mistake on), I have a profile with NO sprocs or views defined (I would have tables defined though) and I deploy this package to an existing database that has existing views/sprocs, after the deployment, I would have no views or sprocs in the database, right? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 8:12:17 AM Posts: 4,243, Visits: 4,288 |
| | | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Yesterday @ 7:29:55 PM Posts: 1,168, Visits: 2,931 |
| | OK, so if I just wanted to use the DDT to deploy data (never schema) how would I do that? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 8:12:17 AM Posts: 4,243, Visits: 4,288 |
| | Look at the Database Installer Sample that is in the Samples and Solutions section of the forum. This sample shows you how to use the DatabaseMigrator class. The meta-data and data deployment are two different methods. |
| | | | StrataFrame VIP
       
Group: StrataFrame Users Last Login: Yesterday @ 7:29:55 PM Posts: 1,168, Visits: 2,931 |
| Glad to here it. I'll look at the sample again (this time I'll try to absorb more of it). I don't think the DDT will work at all for my normal db updates, but I'm using for my security db (separate db, no fancy-smancy SQL stuff to work about) and it works great and I'm hoping I can use it to update some static application data. That will be nice 
Thanks for all the info! |
| |
|
|