Need some help with DDT


Author
Message
Ben Hayat
Ben Hayat
Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
INFO:

a) I have SQL 2005 and SQLExpress running on the same machine.

b) However, through services, I just stopped SQLExpress running try to isolate the problem.

c) If I go to DDT and look at the local connection, "StrataFrame Data Store" that has connection with StartaFrame database.

d) I can create profile and database and tables with no problems.



However, my problems starts as following:

a) I went to "SQL Management Studio) and created a new database "MyDatabase", since I couldn't create a new database in DDT.

b) In DDT, I create a new connection with different name (than "StrataFrame DataStore") to connect to "MyDatabase". and as soon as I try to create new profile, I get error:



SqlException   Invalid object name 'dbo.DBEProfile'.

Source : .Net SqlClient Data Provider




c) If I use "StrataFrame Data Store" connection name with a different database name (MyDatabase), I can open/create a profile and tables. However, If I go to "MyDatabase" with SQL Management Studio, no tables are created. In fact I don't know where the tables are created.



Question:

a) Isn't DDT a replacement for SQL Management Studio to create my tables?

b) What am I doing wrong that I can't freely switch between connections? Like in VS and create tables in "MyDatabase" Database?



Thanks!


..ßen
Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Is it possible when a table is changed/added in DDT, it automatically reflects the actual tables, to prevent any chance of forgetting to do that manually?

This really is not a safe thing to do from our perspective and presents a lot of other questions and issues.  If automated, you would spend a lot of time sitting around waiting since the entire database environment has to be evaluated each time the meta-data is deployed.  Second, it would make it more difficult to use the DDT to create faux environments, something that we will cover in class.  You will actually spend far less time clicking the button to re-deploy than taking the other approach.  The DDT is not designed to replace SQL Server Management Studio but rather provide a facility to create SQL Server meta-data which can then be packaged and deployed over and over again without using scripts and with a level of intellegence that allows the database to be evaluated and updated without having to go through a series of versions and cycles. 

Ben Hayat
Ben Hayat
Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Thanks Trent;



I do have a couple of alternative questions,but I'll just wait to bring it up in the class when the subjects comes up.

..ßen
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ben Hayat - 18 Years Ago
Ben Hayat - 18 Years Ago
Greg McGuffey - 18 Years Ago
Ben Hayat - 18 Years Ago
                     [quote]
Ok, it's getting a bit more clear. So, every time any...
Greg McGuffey - 18 Years Ago
                         Thanks Greg; I still need to get a grip on the "String Connection",...
Ben Hayat - 18 Years Ago
                             Yes, we will definitely be going over setting the connection strings...
StrataFrame Team - 18 Years Ago
                                 Hi Ben; Thanks for the reply and also keeping the suggestions into...
Ben Hayat - 18 Years Ago
                                     [quote]Is it possible when a table is changed/added in DDT, it...
Trent L. Taylor - 18 Years Ago
                                         Thanks Trent;

I do have a couple of alternative...
Ben Hayat - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search