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. Other Discussions
  3. IT & Infrastructure
  4. Anyone out there really know about SQLServer?

Anyone out there really know about SQLServer?

Scheduled Pinned Locked Moved IT & Infrastructure
sharepointdatabasesaleshelpquestion
5 Posts 4 Posters 1 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    OK People, can anyone help with this one.......... What we would like to do is have an MSSQL7 database that contains a common set of table. Then depending on the option our customers have purchased attach 1 or more files to it that contain additional tables (anyone still with me?). This would then give me something like: File1. - MSSQL7 System tables. File2. - Our common tables. File3..N - Our service tables. - These are the one that may or may not exist. This then allow us to distribute our service tables pre-populated speeding up the installation for the customer. (Each one may contain 500K+ rows) I didn't want to go down the road of having imports of data and our current system simply attaches (sp_attach) the relent file to the engine - Instant installation. I've tried playing with storage groups/removable databases etc. Setting the default storage group and creating the tables in differnet file. But I cannot quite get the right options. I'm not even sure if what I'm trying to do is possible. It seems that I may need to play directly with the system catalogue to inform it about which tables exist where? Any help/suggestions would be appreciated.

    A T 2 Replies Last reply
    0
    • L Lost User

      OK People, can anyone help with this one.......... What we would like to do is have an MSSQL7 database that contains a common set of table. Then depending on the option our customers have purchased attach 1 or more files to it that contain additional tables (anyone still with me?). This would then give me something like: File1. - MSSQL7 System tables. File2. - Our common tables. File3..N - Our service tables. - These are the one that may or may not exist. This then allow us to distribute our service tables pre-populated speeding up the installation for the customer. (Each one may contain 500K+ rows) I didn't want to go down the road of having imports of data and our current system simply attaches (sp_attach) the relent file to the engine - Instant installation. I've tried playing with storage groups/removable databases etc. Setting the default storage group and creating the tables in differnet file. But I cannot quite get the right options. I'm not even sure if what I'm trying to do is possible. It seems that I may need to play directly with the system catalogue to inform it about which tables exist where? Any help/suggestions would be appreciated.

      A Offline
      A Offline
      Anders Molin
      wrote on last edited by
      #2

      I don't thin it's possible... It's genarally a bad idea to put datafiles from one server to another server. The servers might be installed with different codepages and/or sort orders, and then your files don't work on the new server. Always do an import from something when installing an application, that uses SQL Server, on a new server. - Anders Money talks, but all mine ever says is "Goodbye!"

      K 1 Reply Last reply
      0
      • L Lost User

        OK People, can anyone help with this one.......... What we would like to do is have an MSSQL7 database that contains a common set of table. Then depending on the option our customers have purchased attach 1 or more files to it that contain additional tables (anyone still with me?). This would then give me something like: File1. - MSSQL7 System tables. File2. - Our common tables. File3..N - Our service tables. - These are the one that may or may not exist. This then allow us to distribute our service tables pre-populated speeding up the installation for the customer. (Each one may contain 500K+ rows) I didn't want to go down the road of having imports of data and our current system simply attaches (sp_attach) the relent file to the engine - Instant installation. I've tried playing with storage groups/removable databases etc. Setting the default storage group and creating the tables in differnet file. But I cannot quite get the right options. I'm not even sure if what I'm trying to do is possible. It seems that I may need to play directly with the system catalogue to inform it about which tables exist where? Any help/suggestions would be appreciated.

        T Offline
        T Offline
        Todd Smith
        wrote on last edited by
        #3

        Perhpas you should create a small app that creates the tables via the proper sql and then submits the data to the db. Store the data in a format of your own such as a comma delimeted file.

        Todd Smith

        K 1 Reply Last reply
        0
        • A Anders Molin

          I don't thin it's possible... It's genarally a bad idea to put datafiles from one server to another server. The servers might be installed with different codepages and/or sort orders, and then your files don't work on the new server. Always do an import from something when installing an application, that uses SQL Server, on a new server. - Anders Money talks, but all mine ever says is "Goodbye!"

          K Offline
          K Offline
          Kevin Gutteridge
          wrote on last edited by
          #4

          Thanks, I thought that may be the answer! Regards, Kevin.

          1 Reply Last reply
          0
          • T Todd Smith

            Perhpas you should create a small app that creates the tables via the proper sql and then submits the data to the db. Store the data in a format of your own such as a comma delimeted file.

            Todd Smith

            K Offline
            K Offline
            Kevin Gutteridge
            wrote on last edited by
            #5

            Thanks, I was looking for the impossible! Regards, Kevin.

            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