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. The Lounge
  3. Please sit down and imagine...

Please sit down and imagine...

Scheduled Pinned Locked Moved The Lounge
databasehelpquestion
32 Posts 12 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.
  • Kornfeld Eliyahu PeterK Offline
    Kornfeld Eliyahu PeterK Offline
    Kornfeld Eliyahu Peter
    wrote on last edited by
    #1

    ... a database, that was designed 25 years ago (SQL 6.5) and since then only upgraded, but never updated... Do you feel me?!

    Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

    "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

    L P C M M 8 Replies Last reply
    0
    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

      ... a database, that was designed 25 years ago (SQL 6.5) and since then only upgraded, but never updated... Do you feel me?!

      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      No :-D I had to work with other "SQL Servers" e.g. Interbase. I'm happy now to go on with this 25 year old one from MS :laugh: [Edit] Interbase has a nice Trigger Strategy, which I'm missing in MSSQL, but that's the only thing I'm missing in MSSQL :(

      J 1 Reply Last reply
      0
      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

        ... a database, that was designed 25 years ago (SQL 6.5) and since then only upgraded, but never updated... Do you feel me?!

        Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        could be worse, they had ms-access 25 years ago too.

        Sin tack the any key okay

        D 1 Reply Last reply
        0
        • L Lost User

          could be worse, they had ms-access 25 years ago too.

          Sin tack the any key okay

          D Offline
          D Offline
          Daniel Pfeffer
          wrote on last edited by
          #4

          MS-Access isn't totally useless; I used it to write a single-user database to manage my book collection.

          If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

          Kornfeld Eliyahu PeterK 1 Reply Last reply
          0
          • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

            ... a database, that was designed 25 years ago (SQL 6.5) and since then only upgraded, but never updated... Do you feel me?!

            Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

            P Offline
            P Offline
            pt1401
            wrote on last edited by
            #5

            No, me neither. How do you define upgraded vs updated? Is an update 'throw everything away and start again'? Windows was launched 35 years ago - has it been updated? Or upgraded? Or both? I don't see the difference. Semantics...

            Kornfeld Eliyahu PeterK M 2 Replies Last reply
            0
            • D Daniel Pfeffer

              MS-Access isn't totally useless; I used it to write a single-user database to manage my book collection.

              If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

              Kornfeld Eliyahu PeterK Offline
              Kornfeld Eliyahu PeterK Offline
              Kornfeld Eliyahu Peter
              wrote on last edited by
              #6

              And now imagine a 500+ company, managing its inventory (worth of millions), employee, customers, contact and so on, on Access... (They where located in Lod, just near enough to get infected)

              Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

              "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

              D C D 3 Replies Last reply
              0
              • P pt1401

                No, me neither. How do you define upgraded vs updated? Is an update 'throw everything away and start again'? Windows was launched 35 years ago - has it been updated? Or upgraded? Or both? I don't see the difference. Semantics...

                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu Peter
                wrote on last edited by
                #7

                update - take the schema as-is and put it on a newer version of SQL upgrade - make changes to the schema using the new features of the new SQL

                Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                P 1 Reply Last reply
                0
                • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                  And now imagine a 500+ company, managing its inventory (worth of millions), employee, customers, contact and so on, on Access... (They where located in Lod, just near enough to get infected)

                  Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                  D Offline
                  D Offline
                  Daniel Pfeffer
                  wrote on last edited by
                  #8

                  :omg: :wtf: X|

                  If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

                  1 Reply Last reply
                  0
                  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                    update - take the schema as-is and put it on a newer version of SQL upgrade - make changes to the schema using the new features of the new SQL

                    Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                    P Offline
                    P Offline
                    pt1401
                    wrote on last edited by
                    #9

                    Ah OK, my mistake. Thought you were talking about SQL itself, not the database. I suspect 99% of databases live as long as the product they serve without significant rewrites.

                    Kornfeld Eliyahu PeterK 1 Reply Last reply
                    0
                    • P pt1401

                      Ah OK, my mistake. Thought you were talking about SQL itself, not the database. I suspect 99% of databases live as long as the product they serve without significant rewrites.

                      Kornfeld Eliyahu PeterK Offline
                      Kornfeld Eliyahu PeterK Offline
                      Kornfeld Eliyahu Peter
                      wrote on last edited by
                      #10

                      pt1401 wrote:

                      I suspect 99% of databases live as long as the product they serve without significant rewrites.

                      You are probably right. So I should add - the product has been updated 6 times (only major counted) since then... The original version was a desktop application in C and now it is a full web based including support for handheld devices...

                      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                      1 Reply Last reply
                      0
                      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                        ... a database, that was designed 25 years ago (SQL 6.5) and since then only upgraded, but never updated... Do you feel me?!

                        Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #11

                        Nope. Database-theory has not changed. You state it was 'designed 25 years ago'; the word designed implies that it has been normalized. Perhaps you prefer entities without any upfront design? (As in, evolving by Agile)

                        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                        Kornfeld Eliyahu PeterK 1 Reply Last reply
                        0
                        • L Lost User

                          Nope. Database-theory has not changed. You state it was 'designed 25 years ago'; the word designed implies that it has been normalized. Perhaps you prefer entities without any upfront design? (As in, evolving by Agile)

                          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                          Kornfeld Eliyahu PeterK Offline
                          Kornfeld Eliyahu PeterK Offline
                          Kornfeld Eliyahu Peter
                          wrote on last edited by
                          #12

                          Eddy Vluggen wrote:

                          Database-theory has not changed.

                          But we got better tools to get close to it... Like using SF, Func, Trigger, XML data (as XML data and not string manipulated by SQL string methods), CTE, new kwywords, like OUTPUT, built in paging and so... We got a lot of it in the last 25 years...

                          Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                          L 1 Reply Last reply
                          0
                          • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                            Eddy Vluggen wrote:

                            Database-theory has not changed.

                            But we got better tools to get close to it... Like using SF, Func, Trigger, XML data (as XML data and not string manipulated by SQL string methods), CTE, new kwywords, like OUTPUT, built in paging and so... We got a lot of it in the last 25 years...

                            Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #13

                            Triggers aren't new in the database-world, and XML is not exactly the ideal format for an RDBMS.

                            Kornfeld Eliyahu Peter wrote:

                            We got a lot of it in the last 25 years...

                            Yes. Doesn't mean it has to be used.

                            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                            Kornfeld Eliyahu PeterK 1 Reply Last reply
                            0
                            • L Lost User

                              Triggers aren't new in the database-world, and XML is not exactly the ideal format for an RDBMS.

                              Kornfeld Eliyahu Peter wrote:

                              We got a lot of it in the last 25 years...

                              Yes. Doesn't mean it has to be used.

                              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                              Kornfeld Eliyahu PeterK Offline
                              Kornfeld Eliyahu PeterK Offline
                              Kornfeld Eliyahu Peter
                              wrote on last edited by
                              #14

                              Eddy Vluggen wrote:

                              XML is not exactly the ideal format for an RDBMS

                              Exactly. But it has been used - so please take a moment and move from string manipulation to faster and better options, now you have them!!!

                              Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                              "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                              L 1 Reply Last reply
                              0
                              • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                And now imagine a 500+ company, managing its inventory (worth of millions), employee, customers, contact and so on, on Access... (They where located in Lod, just near enough to get infected)

                                Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                C Offline
                                C Offline
                                CHill60
                                wrote on last edited by
                                #15

                                I know of a similar company ... but because they don't have "database expertise" they re-type reports from Access into Excel to send out to clients. Yes ... I really did say "re-type"

                                M 1 Reply Last reply
                                0
                                • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                  Eddy Vluggen wrote:

                                  XML is not exactly the ideal format for an RDBMS

                                  Exactly. But it has been used - so please take a moment and move from string manipulation to faster and better options, now you have them!!!

                                  Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                  L Offline
                                  L Offline
                                  Lost User
                                  wrote on last edited by
                                  #16

                                  Kornfeld Eliyahu Peter wrote:

                                  so please take a moment and move from string manipulation to faster and better options, now you have them!!!

                                  Ehr.. databases existed before we had XML. So, the faster and better option would be - the database. ..and there will always be this bright genius who is going to store 32 flags as a bit-string, manipulating the thing with .Left$ en .Right$ until he gets his flag.

                                  Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                  Kornfeld Eliyahu PeterK L 2 Replies Last reply
                                  0
                                  • L Lost User

                                    Kornfeld Eliyahu Peter wrote:

                                    so please take a moment and move from string manipulation to faster and better options, now you have them!!!

                                    Ehr.. databases existed before we had XML. So, the faster and better option would be - the database. ..and there will always be this bright genius who is going to store 32 flags as a bit-string, manipulating the thing with .Left$ en .Right$ until he gets his flag.

                                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                    Kornfeld Eliyahu PeterK Offline
                                    Kornfeld Eliyahu PeterK Offline
                                    Kornfeld Eliyahu Peter
                                    wrote on last edited by
                                    #17

                                    Eddy Vluggen wrote:

                                    this bright genius

                                    And I got this DB from that 'bright genius' :((

                                    Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                    "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                                    L 1 Reply Last reply
                                    0
                                    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                      Eddy Vluggen wrote:

                                      this bright genius

                                      And I got this DB from that 'bright genius' :((

                                      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #18

                                      Tools can't fix that. So, have you considered throwing it all away? :rolleyes:

                                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        Kornfeld Eliyahu Peter wrote:

                                        so please take a moment and move from string manipulation to faster and better options, now you have them!!!

                                        Ehr.. databases existed before we had XML. So, the faster and better option would be - the database. ..and there will always be this bright genius who is going to store 32 flags as a bit-string, manipulating the thing with .Left$ en .Right$ until he gets his flag.

                                        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #19

                                        Eddy Vluggen wrote:

                                        ..and there will always be this bright genius who is going to store 32 flags as a bit-string, manipulating the thing with .Left$ en .Right$ until he gets his flag.

                                        Most likely 16 bits (or 15 coz top bit made number -ve and messy). Also smaller numbers applied to hard disks - measured in [often single or if lucky double digit] megabytes memory was in kilobytes - everything got squeezed. 25 years ago all numbers were a lot smaller than they are today. (But the best part: no damn cell phones, once ya left the office work was really over.)

                                        Sin tack the any key okay

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          No :-D I had to work with other "SQL Servers" e.g. Interbase. I'm happy now to go on with this 25 year old one from MS :laugh: [Edit] Interbase has a nice Trigger Strategy, which I'm missing in MSSQL, but that's the only thing I'm missing in MSSQL :(

                                          J Offline
                                          J Offline
                                          Joan M
                                          wrote on last edited by
                                          #20

                                          Interbase... :OMG:

                                          www.robotecnik.com[^] - robots, CNC and PLC programming

                                          L 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