dbTalk Databases Forums  

Creating/adding column description, not caption

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Creating/adding column description, not caption in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
R.V.
 
Posts: n/a

Default Creating/adding column description, not caption - 05-16-2005 , 03:28 PM






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?

Reply With Quote
  #2  
Old   
Sue Hoegemeier
 
Posts: n/a

Default Re: Creating/adding column description, not caption - 05-17-2005 , 07:04 AM






It's not necessarily all that easy to manage extended
properties in SQL Server. If you want an easy way, you can
try third party tools. One is from A&G Software:
http://www.ag-software.com/sepe/

-Sue

On Mon, 16 May 2005 13:28:01 -0700, "R.V." <R.V. of the
MidAtlantic (AT) discussions (DOT) microsoft.com> wrote:

Quote:
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?


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.