SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Shows Tables for a Given Database from DOS

By Rodrigo Acosta,

Total article views: 680 | Views in the last 30 days: 4

If you are using OSQL or ISQL from DOS querys are really hard to use, because the result is to big for the screen. With this procedure, you can especify from wich column to wich column show the list of tables. For Example: proc_tables master, 3, 10 will show you only a short list of tables order by name. Soon more scripts like this but for Stored Procedures, backup_devices, columns, triggers, views, etc... I Use then on MSDE

By Rodrigo Acosta,

Total article views: 680 | Views in the last 30 days: 4
Your response
 
 
Related Articles
FORUM

add column between two column

add column between two column

FORUM

identity column

identity column

FORUM
SCRIPT

Column Level Permissions

GRANT Column Level Permissions

 
Contribute

Free registration required...

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Login (existing users)

Login

Email:   Password:   Remember me: Forgotten your password?

Register (new users)

Register

Email:   Password:
Confirm:

Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

Steve Jones
Editor, SQLServerCentral.com