Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. command to display total tables from database

command to display total tables from database

Scheduled Pinned Locked Moved Database
database
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    subbu sk
    wrote on last edited by
    #1

    Hai All, i am new to sql server2000, i just want to know about the Querry to display all the tables from one database(ex:Master) Thanks in Advance

    Thanks Subbu.

    P G V 3 Replies Last reply
    0
    • S subbu sk

      Hai All, i am new to sql server2000, i just want to know about the Querry to display all the tables from one database(ex:Master) Thanks in Advance

      Thanks Subbu.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2
      seelct * from systables
      

      Deja View - the feeling that you've seen this post before.

      S 1 Reply Last reply
      0
      • P Pete OHanlon
        seelct * from systables
        

        Deja View - the feeling that you've seen this post before.

        S Offline
        S Offline
        subbu sk
        wrote on last edited by
        #3

        hai , Thanks to u for immediate response, but i want the querry in sqlserver2000 not in oracle. so pls send the querry.

        Thanks Subbu.

        1 Reply Last reply
        0
        • S subbu sk

          Hai All, i am new to sql server2000, i just want to know about the Querry to display all the tables from one database(ex:Master) Thanks in Advance

          Thanks Subbu.

          G Offline
          G Offline
          ganeshMohan
          wrote on last edited by
          #4

          sp_tables which returns all tables in the database including system tables select * from sysobjects where xtype='U' which is also returns tables

          1 Reply Last reply
          0
          • S subbu sk

            Hai All, i am new to sql server2000, i just want to know about the Querry to display all the tables from one database(ex:Master) Thanks in Advance

            Thanks Subbu.

            V Offline
            V Offline
            Venkataramuc
            wrote on last edited by
            #5

            select * from sysobjects where xtype='u' regards venkataramu c venkat

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups