Solved

Good sql editor that will fill in field descriptions from the table explorer.

Posted on 2014-04-21
3
232 Views
Last Modified: 2014-04-22
Does anyone know of an easy way in Sql Server2008 to fill in the field descriptions from a table, i.e. a drag and drop capability?   I'm using temp tables in my stored procedure and I was looking for a faster way of getting the field description into my temp table declaration, i.e.,  field1 varchar(10),  field2 int,  field3 numeric (18.0) , etc.
0
Comment
Question by:Mike Johnson
3 Comments
 
LVL 33

Accepted Solution

by:
ste5an earned 500 total points
ID: 40012303
Right-click in SSMS on your table and select Script Table as / CREATE To.
0
 
LVL 8

Expert Comment

by:Narender Gakka
ID: 40012320
I think SQL Prompt from Redgate would help in this regard.

Download the freetrial and give it a go
http://www.red-gate.com/products/sql-development/sql-prompt/
0
 

Author Closing Comment

by:Mike Johnson
ID: 40014927
Thanks guys...
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question