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. General Programming
  3. C#
  4. gettting table name

gettting table name

Scheduled Pinned Locked Moved C#
databasesql-serversysadminquestion
4 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
    saqib82
    wrote on last edited by
    #1

    Hi how can i query the name of all the tables existing (except system tables) in a database using sql server 2000. regards

    sAqIb

    A B Q 3 Replies Last reply
    0
    • S saqib82

      Hi how can i query the name of all the tables existing (except system tables) in a database using sql server 2000. regards

      sAqIb

      A Offline
      A Offline
      AETaylor
      wrote on last edited by
      #2

      select * from sys.sysObjects where type = 'U'

      1 Reply Last reply
      0
      • S saqib82

        Hi how can i query the name of all the tables existing (except system tables) in a database using sql server 2000. regards

        sAqIb

        B Offline
        B Offline
        Bright Zhang
        wrote on last edited by
        #3

        select name from master..sysobjects where type = 'U'

        1 Reply Last reply
        0
        • S saqib82

          Hi how can i query the name of all the tables existing (except system tables) in a database using sql server 2000. regards

          sAqIb

          Q Offline
          Q Offline
          quiteSmart
          wrote on last edited by
          #4

          hi you can use this to get only the names of the table with no other coloumns. Select name From sisobjects where type = 'U' if you need anything else fell free to contact me on MSN: jamilaboukhalil@hotmail.com Jamil abou khalil

          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