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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Goofy Question About SQL Server

Goofy Question About SQL Server

Scheduled Pinned Locked Moved Database
questiondatabasesql-serversysadminsales
11 Posts 5 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.
  • R Roger Wright

    I'm playing with a hypothetical company with several branch offices and one main office. Said company has limited IT resources (ie, no budget), but would like to keep local office sales data in SQL Server Express, then update nightly to the main office SQL Server Standard edition. Is this even possible? Can the Express edition participate in replication? And yes, it's for a homework assignment I'm assisting with... :-O

    "A Journey of a Thousand Rest Stops Begins with a Single Movement"

    L Offline
    L Offline
    Luc Pattyn
    wrote on last edited by
    #2

    we don't do homework assistance assistance. you want rentacoder. :-D

    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


    Prolific encyclopedia fixture proof-reader browser patron addict?
    We all depend on the beast below.


    M R 2 Replies Last reply
    0
    • R Roger Wright

      I'm playing with a hypothetical company with several branch offices and one main office. Said company has limited IT resources (ie, no budget), but would like to keep local office sales data in SQL Server Express, then update nightly to the main office SQL Server Standard edition. Is this even possible? Can the Express edition participate in replication? And yes, it's for a homework assignment I'm assisting with... :-O

      "A Journey of a Thousand Rest Stops Begins with a Single Movement"

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #3

      looks like Express does not support replication info[^] Another aspect to consider is the records identity information, integer identity format no longer works. Look into uniqueidentifier/GUID. Horrible, ugly canankerious bastard things that they are. One gotcha is that a GUID is not a nullable type.

      Never underestimate the power of human stupidity RAH

      L 1 Reply Last reply
      0
      • L Luc Pattyn

        we don't do homework assistance assistance. you want rentacoder. :-D

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


        Prolific encyclopedia fixture proof-reader browser patron addict?
        We all depend on the beast below.


        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #4

        So do we do looped assistance or is it like nested assistance and is below the assistance threshold.

        Never underestimate the power of human stupidity RAH

        1 Reply Last reply
        0
        • M Mycroft Holmes

          looks like Express does not support replication info[^] Another aspect to consider is the records identity information, integer identity format no longer works. Look into uniqueidentifier/GUID. Horrible, ugly canankerious bastard things that they are. One gotcha is that a GUID is not a nullable type.

          Never underestimate the power of human stupidity RAH

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #5

          Maybe you could use integer keys locally, and apply an integer-to-GUID conversion table before exporting it all. :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


          Prolific encyclopedia fixture proof-reader browser patron addict?
          We all depend on the beast below.


          1 Reply Last reply
          0
          • R Roger Wright

            I'm playing with a hypothetical company with several branch offices and one main office. Said company has limited IT resources (ie, no budget), but would like to keep local office sales data in SQL Server Express, then update nightly to the main office SQL Server Standard edition. Is this even possible? Can the Express edition participate in replication? And yes, it's for a homework assignment I'm assisting with... :-O

            "A Journey of a Thousand Rest Stops Begins with a Single Movement"

            J Offline
            J Offline
            Johan Hakkesteegt
            wrote on last edited by
            #6

            If you only need to update nightly, you should look into a simple application that creates xml files, and sends them by ftp or something like that, and an application on the other side that imports the data from these files. It's a robust system that we use ourselves, and built without a budget ;-)

            My advice is free, and you may get what you paid for.

            R 1 Reply Last reply
            0
            • R Roger Wright

              I'm playing with a hypothetical company with several branch offices and one main office. Said company has limited IT resources (ie, no budget), but would like to keep local office sales data in SQL Server Express, then update nightly to the main office SQL Server Standard edition. Is this even possible? Can the Express edition participate in replication? And yes, it's for a homework assignment I'm assisting with... :-O

              "A Journey of a Thousand Rest Stops Begins with a Single Movement"

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #7

              I would maintain a transaction table. And send the unsent transactions periodically. I would also include a field that indicates where the transaction came from.

              R 1 Reply Last reply
              0
              • L Luc Pattyn

                we don't do homework assistance assistance. you want rentacoder. :-D

                Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                Prolific encyclopedia fixture proof-reader browser patron addict?
                We all depend on the beast below.


                R Offline
                R Offline
                Roger Wright
                wrote on last edited by
                #8

                Luc Pattyn wrote:

                you want rentacoder

                Too expensive! ;P

                "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                1 Reply Last reply
                0
                • J Johan Hakkesteegt

                  If you only need to update nightly, you should look into a simple application that creates xml files, and sends them by ftp or something like that, and an application on the other side that imports the data from these files. It's a robust system that we use ourselves, and built without a budget ;-)

                  My advice is free, and you may get what you paid for.

                  R Offline
                  R Offline
                  Roger Wright
                  wrote on last edited by
                  #9

                  That's a good thought, and I may do it just for the learning experience. But I'm just looking for what's possible - only the design is required for homework, not the implementation. :-D

                  "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                  1 Reply Last reply
                  0
                  • P PIEBALDconsult

                    I would maintain a transaction table. And send the unsent transactions periodically. I would also include a field that indicates where the transaction came from.

                    R Offline
                    R Offline
                    Roger Wright
                    wrote on last edited by
                    #10

                    That would make a lot of sense, as one of the requirements I made up is that the stores have to be autonomous during comm failures, then update the home server when a link is available.

                    "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                    J 1 Reply Last reply
                    0
                    • R Roger Wright

                      That would make a lot of sense, as one of the requirements I made up is that the stores have to be autonomous during comm failures, then update the home server when a link is available.

                      "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                      J Offline
                      J Offline
                      Johan Hakkesteegt
                      wrote on last edited by
                      #11

                      Just a tip, you should include a status flag in that table while you are at it. This flag can have separate values for (for example) "Handled", "ImportError", "Corrupted", etc The most common problems when transferring data are data corruption, transfer failures, and import failures (usually because some data is in the wrong format or missing entirely, say a date may have the year 1900 instead of 2010, which happens astoundingly often). Based on the flag you can then have the import application take different actions (correct data with default values, alert someone, try to retrieve the data again from the source, etc.)

                      My advice is free, and you may get what you paid for.

                      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