![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am studying "Beginning SQL Server 2008 Express for Developers From Novice to Professional" by Robin Dewson. On pages 191 to 198, it deals with database diagrams. Following the instructions for creating one did not work. I expanded the Database Diagrams node for the database that is being developed (the one the is developed through the book). I get a dialog box of "This database does not have one ore more of the support objects required to use database diagramming. Do you wish to create them?" So far, so good. I answer Yes as I am supposed to, and then there is supposed to be an Add Table dialog box and on it should go. Instead, there is nothing. The Database Diagrams node is expanded as empty (so that the square with the plus sign in it is gone and there are no child items), but there is no dialog box, and no diagram. When I installed SQL Server 2008 Express, I specified a *full* installation and it did succeed. How do I get database diagramming to work? |
#3
| |||
| |||
|
|
On Fri, 26 Nov 2010 14:09:01 -0800, Gene Wirchenko <genew (AT) ocis (DOT) net wrote: |
|
How do I get database diagramming to work? To create a new database diagram, you first need to right-click the Database Diagrams node and click New Database Diagram. At that point, the Add Table dialog should appear. If it doesn't (or if you ever closse it and need it back later), you can right-click any empty space in the diagram pane and choose Add Table to summon the Add Table dialog. |
#4
| |||
| |||
|
|
I suppose some might be due to slightly different versions. I think that there are at least two downloads of SQL Server 2008 Express. Could anyone elaborate on this? |
#5
| |||
| |||
|
|
I suppose some might be due to slightly different versions. I think that there are at least two downloads of SQL Server 2008 Express. Could anyone elaborate on this? |
#6
| |||
| |||
|
|
Gene Wirchenko (genew (AT) ocis (DOT) net) writes: I suppose some might be due to slightly different versions. I think that there are at least two downloads of SQL Server 2008 Express. Could anyone elaborate on this? For SQL Express, there are usually streamlined downloads for service packs. That is, you can download and install SQL 2008 SP2 in one go. With other editions you need to apply the service pack separately. |
|
It is possible that there are differences in how database diagrams work between service packs. Then again, it is not that likely. The diagrams is a fairly old feature, and I don't think Microsoft touches it very much at all. |
|
I would also like to raise a word of caution of using the graphical tools in SSMS to create and moreover to change table definitions. There are serious flaws in how SSMS implement the table changes, of which some are not so directly apparent, which makes it even more devious. The diagrams as such may helpful to visualise the database, if you don't have a real data-modelling tool around (and they tend to be expensive, why many haven't.) But for actually creating tables you are better off with CREATE and ALTER TABLE. |
#7
| |||
| |||
|
|
On Fri, 26 Nov 2010 14:32:35 -0800, Gene Wirchenko <genew (AT) ocis (DOT) net wrote: I suppose some might be due to slightly different versions. I think that there are at least two downloads of SQL Server 2008 Express. Could anyone elaborate on this? I'm not really into Express. I do know that the download is available in a version with minimal tools, and a version with more advanced tools. Maybe those are the two versions you're refering? I don't expect there to be this kind of differences between these two versions - functionality is either supported or not, but not implemented in a different way for the different versions. I guess the authors and editors of your book simply dropped the ball. |
#8
| |||
| |||
|
|
On Sun, 28 Nov 2010 01:06:25 +0100, Hugo Kornelis hugo (AT) perFact (DOT) REMOVETHIS.info.INVALID> wrote: In general, I like how the book is laid out, but I am trying everything. I am the world's meanest editor/proofreader. Combine these and the result is a lot of sticky notes in my book. |
#9
| |||
| |||
|
|
Thank you for that bit. Do you have any examples of these errors? A URL would be fine. |
#10
| |||
| |||
|
|
Gene Wirchenko (genew (AT) ocis (DOT) net) writes: Thank you for that bit. Do you have any examples of these errors? A URL would be fine. There are maybe Connect items about them, but I'm not sure - I filed these bugs in a system preceding Connect originally. Anyway, here is a list: |
|
Overall, my impression is that the people who wrote this tool in the dim and distant past, had very little understanding of what it makes schema changes. The result is a tool which is incorrectly designed from bottom up. (The reason I talk about the dim and distant past is that the same bugs are in the SQL 2000 tools as well. They were very faithfully ported to SQL 2005.) |
![]() |
| Thread Tools | |
| Display Modes | |
| |