dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: show tables

  1. #1
    Join Date
    Jul 2004
    Location
    lost city
    Posts
    104

    show tables

    hi, i trying to show out all my tables using mssql.

    for mysql i can do this
    $show = "SHOW TABLES";
    $query = mysql_query($show);

    but if it is mssql, is there a command for that?

  2. #2
    Join Date
    Mar 2006
    Posts
    52
    select * from SYSOBJECTS where TYPE = 'U' order by NAME

    or

    sp_help



    Best Regards
    Adrian

  3. #3
    Join Date
    Jul 2004
    Location
    lost city
    Posts
    104
    ok, thanks. i got the solution, for mssql is select * from information_schema.tables

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles