Creating/adding column description, not caption



I originally created an SQL 2000 database from Access 2000. I stored the
field descriptions in Access 2000 but they didn't transfer over during the
DTS.

How do I get these descriptions back into my SQL Server 2000 database?

I've generated the script and have made some changes to the SQL database,
like changing the data types and sizes. Now, I want to add in the
descriptions. I've looked at the syntax for CREATE TABLE but can't find
anything remotely close except for column_description. Even when I try to
type a description into the already created table, I get errors. I know I
must use the "EXECUTE sp_addextendedproperty ..." command code to include the
descriptions.

Is there an easier way than to go through all the tables and get every field
that has a definition? I started to create the object definition from the
analysis tool option but it does not save the table definition info. Is
there a way to save this to create a table and pull out the definitions?
.



Relevant Pages

  • Script, Save, Export SQL 2005 Database Diagrams
    ... I've used the code from the post [Script, Save, Export SQL Database ... Diagrams] for a while now... ... I've written a new script for SQL Server 2005, ...
    (comp.databases.ms-sqlserver)
  • Re: Specified Cast is not Valid
    ... >> I have a class with a couple methods and trying to assign a datareader ... >> to a variable which also has a public accessor for it. ... >> I have a method that executes a SQL Server stored procedure returning the ... >> data types vs the sql data types. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Total Newbie - Maintainenance of SQL Database
    ... If you are having a consultancy migrate/install this packaged solution then ... > exactly is involved in maintaining/supporting a SQL database? ... > intend to run on SQL server. ... > The only maintenance I do on the Access version is a scheduled nightly ...
    (comp.databases.ms-sqlserver)
  • Re: Data Type Question
    ... Those are User Defined Data Types. ... Enterprise Manager under the folder User Defined Data Types under your ... SQL Server MVP ...
    (microsoft.public.sqlserver.programming)
  • RE: Event 3760 Error
    ... SQL Database 'STS_TSMAIL_1' on SQL Server instance ... Microsoft CSS Online Newsgroup Support ... <Source: Windows SharePoint Services 3 ... <SQL Database 'STS_TSMAIL_1' on SQL Server instance ...
    (microsoft.public.windows.server.sbs)