﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Database Deployment Toolkit » Database Deployment Toolkit (How do I?)  » Tables Do Not Import</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 29 May 2026 13:44:25 GMT</lastBuildDate><ttl>20</ttl><item><title>Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost17889.aspx</link><description>I am attempting to setup the DDT to begin a new project.&amp;nbsp; The database already exists.&amp;nbsp; I can connect to the DB and traverse all objects using the management studio.&amp;nbsp; When I run the import, I am not getting any tables.&amp;nbsp; The import takes a long time and the progress bars make me think something good is happening, but there are no tables.&amp;nbsp; The stored procedures are there.&amp;nbsp; The views are there.&amp;nbsp; The 102 tables are not.&amp;nbsp;&amp;nbsp;I am a newbie to the DDT.&amp;nbsp; What am I doing wrong?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Wed, 13 Aug 2008 14:49:24 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18483.aspx</link><description>Jeff...the link that Bill provided should point you in the right direction. :)</description><pubDate>Wed, 13 Aug 2008 14:49:24 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18482.aspx</link><description>This is the update that you need: &lt;A href="http://forum.strataframe.net/Topic15687-22-2.aspx"&gt;http://forum.strataframe.net/Topic15687-22-2.aspx&lt;/A&gt;.&amp;nbsp; Two issues&amp;nbsp;of the DDT&amp;nbsp;were addressed in separate posts on that thread...the first regarding the importing of tables and the second regarding the indexes.&amp;nbsp; The last, 8/12 entry at 10:51am (EST?)&amp;nbsp;is the one that you want.</description><pubDate>Wed, 13 Aug 2008 14:47:29 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18481.aspx</link><description>I am one of the most fallible developers on the planet.&amp;nbsp; So, with any error I encounter I make the basic assumption that it is my fault.&amp;nbsp; I always start there.&amp;nbsp; When I cannot figure it out, I then ask for help from the outside world to tell me where I am wrong, or what is the better way to do something.&amp;nbsp; Twice I attempted to use the DDT in a brand new project.&amp;nbsp; This is the first project&amp;nbsp;in which I am using the DDT to do what it is designed to do: "a meta-data tool that is used to create, maintain, and deploy SQL Server schemas and data".&amp;nbsp;&amp;nbsp;After each attempt&amp;nbsp;I encountered a problem but&amp;nbsp;I did not&amp;nbsp;ask for help&amp;nbsp;until I spent several&amp;nbsp;hours reading, searching forums, testing and retesting my procedures.&amp;nbsp; Both times I was told that it was a problem that had to be resolved with an update to the DDT.&amp;nbsp; No big deal--however, I was unable to go forward with my development as I had desired to do it...a "show-stopper", so to speak.&amp;nbsp; I am not making a complaint here, at all.&amp;nbsp; I am trying to make sure that I am using this tool for what it was designed to do.&amp;nbsp; If not, I am hoping you, or someone else,&amp;nbsp;will tell me.&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR&gt;Bill</description><pubDate>Wed, 13 Aug 2008 14:42:14 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18480.aspx</link><description>[quote]First, the index thing was just a bug that was intrduced the same time as the tables when schemas were added as part of the criteria.&amp;nbsp; So this was a very simple and easy fix and we checked to see if this would crop up anywhere else and so at this point things should be fine.&amp;nbsp; A build is being created as we speak and will be posted in the next hour or so.[/quote]&lt;P&gt;Hi Trent,&lt;/P&gt;&lt;P&gt;I have downloaded and installed&amp;nbsp;the build that the the link from the 8/7 post in this thread pointed to.&amp;nbsp; This post indicates there will be another one.&amp;nbsp; Do I need to download this build you are referring to?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff</description><pubDate>Wed, 13 Aug 2008 14:36:11 GMT</pubDate><dc:creator>Jeff Pagley</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18464.aspx</link><description>Bill,&lt;/P&gt;&lt;P&gt;Your last statement bothers me a bit.&amp;nbsp; You said that you keep running into "show-stoppers."&amp;nbsp; I am not sure how much you know about us as a company, but we actually have a very large medical application that we distribute nation wide.&amp;nbsp; We have a VERY complex database and distribution environment, and the DDT is the heart and soul of this.&amp;nbsp; Aside from our experiences as well, we have SF users that have extremely large and complex&amp;nbsp;applications that are deployed with SF and the DDT....so this is one area that I will say that I already know that the DDT is a solid and proven environment.&amp;nbsp; Now as I have already mentioned, the import did break...my fault...sorry.&amp;nbsp; But the DatabaseMigrator (the class within the framework that deploys a package) is solid, tested, and proven.&amp;nbsp; Not that there are not things that&amp;nbsp;have crept up and I would neve go as so far as to say that there may not be a bug under certain conditions.&amp;nbsp; But my faith is in the DDT as I know for a fact that when used properly...it works like a champ!</description><pubDate>Wed, 13 Aug 2008 09:22:10 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18437.aspx</link><description>[quote]the index thing was just a bug[/quote]&lt;/P&gt;&lt;P&gt;Ok.&amp;nbsp; I will try again after the next update.&lt;/P&gt;&lt;P&gt;[quote]you MAY actually see some tables be modifed that you are not expecting which is &lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;not&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt; an issue in many cases . . . In this case it was an issue since the indexes were missing.[/quote]&lt;/P&gt;&lt;P&gt;As I pointed out, primary keys were being dropped.&amp;nbsp; Expect the unexpected, eh?&lt;/P&gt;&lt;P&gt;[quote]Finally, the import tool in not intended to be a 100% catch-all.[/quote]&lt;/P&gt;&lt;P&gt;Certainly.&amp;nbsp; If there are gotchas or heads ups that I need to know about, then please let us know.&amp;nbsp; I have made basic assumptions about how the DDT works and each step has been met with show-stoppers.&amp;nbsp; I know that I can reproduce all of these tables on my own and handle&amp;nbsp;any changes via sql scripts...and, I have no problem doing that.&amp;nbsp; It just seems like a nice thing to be able to import a DB schema into a tool so that I can manipulate it, then deploy&amp;nbsp;the changes&amp;nbsp;back to the original server.&amp;nbsp; If my understanding of what this tool does is wrong, then please correct me.&amp;nbsp; I can take it.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Tue, 12 Aug 2008 14:05:43 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18422.aspx</link><description>A couple of things here.&lt;/P&gt;&lt;P&gt;First, the index thing was just a bug that was intrduced the same time as the tables when schemas were added as part of the criteria.&amp;nbsp; So this was a very simple and easy fix and we checked to see if this would crop up anywhere else and so at this point things should be fine.&amp;nbsp; A build is being created as we speak and will be posted in the next hour or so.&lt;/P&gt;&lt;P&gt;Now, a couple of things in regards to your expectations.&amp;nbsp; The database import is intended to bring your structures, relationships, indexes, etc. in and then allow you to massage them and go from there.&amp;nbsp; When you first post, you MAY actually see some tables be modifed that you are not expecting which is &lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;not&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt; an issue in many cases as extended properties are being applied, foreign keys updated, etc.&amp;nbsp; In this case it was an issue since the indexes were missing.&lt;/P&gt;&lt;P&gt;Finally, the &lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;last thing that you should do&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt; is deploy to a production server the first time you are testing your meta-data.&amp;nbsp; Obviously do a backup of your database, then copy it over, and test it on a NON-PRODUCTION database until you can massage and deploy as you are expecting.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Finally, the import tool in not intended to be a 100% catch-all.&amp;nbsp; It gets you a long ways down the road and in many cases is 100% depending on the database.&amp;nbsp; But like anything else...be sure to test on a non-production environment until you are getting the results that you are expecting. ;)</description><pubDate>Tue, 12 Aug 2008 09:25:37 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18417.aspx</link><description>I still must not be doing something right.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I downloaded the most recent update (8/1) and ran the import this evening.&amp;nbsp; Sorry it took so long to get back to this.&amp;nbsp; All of the tables were brought into the DDT.&amp;nbsp; Great.&amp;nbsp; Then, I proceeded to change a few things (add a table, alter tables, add fields, delete fields...you know, the typical stuff).&amp;nbsp; When I finished with my changes (not too many), I decided it was time to deploy those changes to the server.&amp;nbsp; I created the deployment package and began the deployment.&amp;nbsp; I was met instantly with the first table being prepared for modification...I never touched the first table.&amp;nbsp; It then proceeded to tell me that the primary key index was dropped and that the table was successfully altered.&amp;nbsp; Ugh!!&amp;nbsp; It then did the same thing to&amp;nbsp;the next two&amp;nbsp;tables before I stopped the carnage.&amp;nbsp; It looked like it was going to hit every table in the database.&lt;/P&gt;&lt;P&gt;After a quick review and comparison I discovered that no indexes were imported.&amp;nbsp; Not even the primary key indexes registered in the DDT.&lt;/P&gt;&lt;P&gt;First, why didn't any&amp;nbsp;indexes get imported?&amp;nbsp; Second, why did any unchanged table in the DDT get altered in the database&amp;nbsp;at all?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Mon, 11 Aug 2008 23:45:55 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18375.aspx</link><description>I posted it 30 minutes after my previous post here :w00t: ...you can download it from here: &lt;A href="http://forum.strataframe.net/FindPost18263.aspx"&gt;http://forum.strataframe.net/FindPost18263.aspx&lt;/A&gt;</description><pubDate>Thu, 07 Aug 2008 16:46:33 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18361.aspx</link><description>Hi Trent, &lt;P&gt;What is the&amp;nbsp;status on the DDT patch?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff</description><pubDate>Thu, 07 Aug 2008 08:48:02 GMT</pubDate><dc:creator>Jeff Pagley</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18257.aspx</link><description>Fixed and rebuilding an install.&amp;nbsp; Will post in the Posted Releases section in just a bit.&amp;nbsp; Thanks. :)</description><pubDate>Fri, 01 Aug 2008 09:21:23 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18244.aspx</link><description>Hi Trent,&lt;/P&gt;&lt;P&gt;Any status on the DDT patch?&amp;nbsp; I have some databases I&amp;nbsp;would like&amp;nbsp;to import to get started with DDT.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff</description><pubDate>Thu, 31 Jul 2008 09:38:33 GMT</pubDate><dc:creator>Jeff Pagley</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18099.aspx</link><description>Yeah, this is actually a bug that we found during training that I have not yet fixed.&amp;nbsp; When we added the triggers, it introduced a bug on the import during the save.&amp;nbsp; I will get this fixed at the start of the week and then repost an update.&amp;nbsp; Sorry :ermm:</description><pubDate>Sat, 26 Jul 2008 20:27:25 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost18095.aspx</link><description>Hi Trent,&lt;/P&gt;&lt;P&gt;I am having&amp;nbsp;a similar&amp;nbsp;problem as Bill.&amp;nbsp; I just purchased the DDT.&amp;nbsp; I am trying to import an existing database.&amp;nbsp; The views and sprocs show up, but the tables are missing.&amp;nbsp; During the process the internet explorer pops up displaying the information below.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;P&gt;&lt;TABLE cellSpacing=0 cellPadding=2 border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Data File Name : &lt;/TD&gt;&lt;TD&gt;The data file name cannot contain spaces or begin with a numeric value. &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;View Name : &lt;/TD&gt;&lt;TD&gt;The view name cannot contain spaces or begin with a numeric value. &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;View Name : &lt;/TD&gt;&lt;TD&gt;The view name cannot contain spaces or begin with a numeric value. &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;View Name : &lt;/TD&gt;&lt;TD&gt;The view name cannot contain spaces or begin with a numeric value. &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;View Name : &lt;/TD&gt;&lt;TD&gt;The view name cannot contain spaces or begin with a numeric value. &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Sat, 26 Jul 2008 15:01:51 GMT</pubDate><dc:creator>Jeff Pagley</dc:creator></item><item><title>RE: Tables Do Not Import</title><link>http://forum.strataframe.net/FindPost17896.aspx</link><description>No, I think that there is an issue that I ran into myself during the class the other day.&amp;nbsp; As you know, we are in the middle of class and will be again next week as well...and my "to-do" list is filling up fast, but this is on it and I will get to it one night over the next week or two.&amp;nbsp; Sorry for the delay here. :ermm:&lt;/P&gt;&lt;P&gt;I beleive the problem is actually easy to fix and came from some new functionality that was recently added in the structures.&amp;nbsp; So I will try to get to this as quick as possible.&amp;nbsp; Thanks.</description><pubDate>Thu, 17 Jul 2008 08:40:25 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>