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. Access tables in a remote Database server

Access tables in a remote Database server

Scheduled Pinned Locked Moved Database
databasesql-serversysadminquestionannouncement
4 Posts 2 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.
  • V Offline
    V Offline
    Vipin d
    wrote on last edited by
    #1

    Hi, I am using MSSQL 2000 server. I need to access tables in the remote server from my local server query analyser. I know that server's name, its user name, password.... My need is from my local server query analyzer, i need to perform select or update or delete operation. is it posiible??

    All I ever wanted is what others have....
    CrazySanker

    P 1 Reply Last reply
    0
    • V Vipin d

      Hi, I am using MSSQL 2000 server. I need to access tables in the remote server from my local server query analyser. I know that server's name, its user name, password.... My need is from my local server query analyzer, i need to perform select or update or delete operation. is it posiible??

      All I ever wanted is what others have....
      CrazySanker

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      Yes. Establish a connection to your remote SQL database, and run your queries. Paul

      V 1 Reply Last reply
      0
      • P pmarfleet

        Yes. Establish a connection to your remote SQL database, and run your queries. Paul

        V Offline
        V Offline
        Vipin d
        wrote on last edited by
        #3

        Thank you for your reply. My requirement is I have a User_log table in my Remote DBserver "RDB" and in my Local DBSERVER "LDB" .And databse name is TEST in both server. I need to insert (or copy) the content from RDB.TEST.User_log to LDB.TEST.User_log , after copying it i need to DELETE the contetnt of RDB.TEST.User_log I need to perform this operation from my "LDB" can you help me??

        All I ever wanted is what others have....
        CrazySanker

        P 1 Reply Last reply
        0
        • V Vipin d

          Thank you for your reply. My requirement is I have a User_log table in my Remote DBserver "RDB" and in my Local DBSERVER "LDB" .And databse name is TEST in both server. I need to insert (or copy) the content from RDB.TEST.User_log to LDB.TEST.User_log , after copying it i need to DELETE the contetnt of RDB.TEST.User_log I need to perform this operation from my "LDB" can you help me??

          All I ever wanted is what others have....
          CrazySanker

          P Offline
          P Offline
          pmarfleet
          wrote on last edited by
          #4

          If the databases are on different servers, you could define a linked server on one of your servers and then write an INSERT query that copies the data from one server to the other. I don't really have any experience of defining a linked server myself, but SQL BOL will explain how to do it. Alternatively, you could use DTS/SSIS to export data from one database and load it into your other database. Regards Paul

          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