dbTalk Databases Forums  

Generate Schema

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Generate Schema in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
toney
 
Posts: n/a

Default Generate Schema - 11-08-2007 , 07:02 PM






Hello, how do I generate a schema of a database in sql server 2005? I want to
see a graphic representation of all the table and fields, what the primary
keys are, relathionships, and so forth.

thanks
--
toney


Reply With Quote
  #2  
Old   
Tibor Karaszi
 
Posts: n/a

Default Re: Generate Schema - 11-09-2007 , 02:09 AM






Expand the database in Object Explorer, right-click the "Database Diagram" folder, "New Database
Diagram".

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"toney" <toney (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello, how do I generate a schema of a database in sql server 2005? I want to
see a graphic representation of all the table and fields, what the primary
keys are, relathionships, and so forth.

thanks
--
toney



Reply With Quote
  #3  
Old   
toney
 
Posts: n/a

Default Re: Generate Schema - 11-12-2007 , 11:44 AM



Ekrem, how would the Generate Scripts wizard generate a visual
reporesentation of the structure of the DB? I see how it creates samples code.
--
toney


"Ekrem Önsoy" wrote:

Quote:
You can also use Generate Script. In SSMS, right click on a database,
Tasks\Generate Scripts...

--
Ekrem Önsoy



"toney" <toney (AT) discussions (DOT) microsoft.com> wrote in message
newsEF49EE6-73D2-4251-AEDB-AF861B39E928 (AT) microsoft (DOT) com...
Hello, how do I generate a schema of a database in sql server 2005? I want
to
see a graphic representation of all the table and fields, what the primary
keys are, relathionships, and so forth.

thanks
--
toney



Reply With Quote
  #4  
Old   
Tibor Karaszi
 
Posts: n/a

Default Re: Generate Schema - 11-12-2007 , 12:06 PM



It doesn't. Schema can mean many things (an overloaded term) and Ekrem probably missed the
"graphical representation" part of your question.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"toney" <toney (AT) discussions (DOT) microsoft.com> wrote

Quote:
Ekrem, how would the Generate Scripts wizard generate a visual
reporesentation of the structure of the DB? I see how it creates samples code.
--
toney


"Ekrem Önsoy" wrote:

You can also use Generate Script. In SSMS, right click on a database,
Tasks\Generate Scripts...

--
Ekrem Önsoy



"toney" <toney (AT) discussions (DOT) microsoft.com> wrote in message
newsEF49EE6-73D2-4251-AEDB-AF861B39E928 (AT) microsoft (DOT) com...
Hello, how do I generate a schema of a database in sql server 2005? I want
to
see a graphic representation of all the table and fields, what the primary
keys are, relathionships, and so forth.

thanks
--
toney




Reply With Quote
  #5  
Old   
Jesse
 
Posts: n/a

Default Re: Generate Schema - 11-13-2007 , 03:16 PM



On Nov 8, 5:02 pm, toney <to... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hello, how do Igeneratea schema of a database insqlserver 2005? I want to
see a graphic representation of all the table and fields, what the primary
keys are, relathionships, and so forth.

thanks
--
toney
You can create a database diagram to show relationships. if you
expand the database node in OE, you'll see a "database diagrams"
folder. right click on that to create a diagram.

also you might find this tool useful: http://www.elsasoft.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.