?
Solved

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

Posted on 2014-04-21
3
Medium Priority
?
243 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 38

Accepted Solution

by:
ste5an earned 2000 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 Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
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…

569 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