Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004
    Posts
    193

    Unanswered: How do you describe a table's structure in SQL Server?

    Oracle has a similar function, DESC, to diplay the table structure. Can't figure it out in SQL Server.

    ddave

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Use
    PHP Code:
    EXECUTE sp_help tablename 
    , or generate the DDL using SQL-DMO (possibly via SQL Enterprise Mangler).

    -PatP

  3. #3
    Join Date
    Feb 2004
    Posts
    193
    Originally posted by Pat Phelan
    Use
    PHP Code:
    EXECUTE sp_help tablename 
    , or generate the DDL using SQL-DMO (possibly via SQL Enterprise Mangler).

    -PatP
    That did the trick, Pat. Thank you.

    ddave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •