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. how much do you have?

how much do you have?

Scheduled Pinned Locked Moved The Lounge
databasehelpquestion
32 Posts 19 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 Kornfeld Eliyahu Peter

    Isn't it 100%? :-)

    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
    #7

    Yes but it's also 42%, and 9001%, etc..

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

      I found we use SQL triggers a bit too much... 336 triggers on 1450 tables... (~23%)

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

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #8

      Kornfeld Eliyahu Peter wrote:

      (~23%)

      We got you beat. 247 triggers on 741 tables, exactly 1/3, although not intentional.

      There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

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

        I found we use SQL triggers a bit too much... 336 triggers on 1450 tables... (~23%)

        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
        #9

        I avoid them as triggers too easily lend themselves to database-vendor specific code.

        Installing Signature... Do not switch off your computer.

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

          Actually some of the triggers are there to log data changes (on important tables)... Others are for data integrity... And others are for sync with externals...

          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
          Pualee
          wrote on last edited by
          #10

          I'd start looking for a new job before the house of cards falls down.

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

            I found we use SQL triggers a bit too much... 336 triggers on 1450 tables... (~23%)

            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
            CodeWraith
            wrote on last edited by
            #11

            My former bosses have about 10 - 15 triggers on each and every table, some of them thousands of lines long. A nightmare. Especially after that experience: 0.0 triggers per table and not a single trigger more.

            I have lived with several Zen masters - all of them were cats.

            Kornfeld Eliyahu PeterK M S 3 Replies Last reply
            0
            • C CodeWraith

              My former bosses have about 10 - 15 triggers on each and every table, some of them thousands of lines long. A nightmare. Especially after that experience: 0.0 triggers per table and not a single trigger more.

              I have lived with several Zen masters - all of them were cats.

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

              That sounds awful... Our triggers are short (sometimes 2-3 triggers on the same event, just because they all do something else)...

              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

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

                That sounds awful... Our triggers are short (sometimes 2-3 triggers on the same event, just because they all do something else)...

                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
                CodeWraith
                wrote on last edited by
                #13

                The major part of the application logic took place in those triggers. Guess why I run out of job interviews when I hear 'Access' or ' Former Acess project that has ben ported to xxx'.

                I have lived with several Zen masters - all of them were cats.

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

                  I found we use SQL triggers a bit too much... 336 triggers on 1450 tables... (~23%)

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

                  abmvA Offline
                  abmvA Offline
                  abmv
                  wrote on last edited by
                  #14

                  Lotta time I see...

                  Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

                  We are in the beginning of a mass extinction. - Greta Thunberg

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

                    I found we use SQL triggers a bit too much... 336 triggers on 1450 tables... (~23%)

                    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
                    Dave Kreskowiak
                    wrote on last edited by
                    #15

                    I've used 2 in my entire 32 years of doing this crap.

                    System.ItDidntWorkException: Something didn't work as expected. A guide to posting questions on CodeProject

                    Click this: Asking questions is a skill. Seriously, do it.
                    Dave Kreskowiak

                    1 Reply Last reply
                    0
                    • C CodeWraith

                      My former bosses have about 10 - 15 triggers on each and every table, some of them thousands of lines long. A nightmare. Especially after that experience: 0.0 triggers per table and not a single trigger more.

                      I have lived with several Zen masters - all of them were cats.

                      M Offline
                      M Offline
                      megaadam
                      wrote on last edited by
                      #16

                      Sounds like a bunch of trigger happy bosses :suss:

                      ... such stuff as dreams are made on

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

                        I found we use SQL triggers a bit too much... 336 triggers on 1450 tables... (~23%)

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

                        R Offline
                        R Offline
                        R Giskard Reventlov
                        wrote on last edited by
                        #17

                        Zero. Who needs 'em, eh?

                        1 Reply Last reply
                        0
                        • abmvA abmv

                          Lotta time I see...

                          Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

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

                          Working on a review of the DB design to suggest improvements...

                          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

                          abmvA 1 Reply Last reply
                          0
                          • C CodeWraith

                            My former bosses have about 10 - 15 triggers on each and every table, some of them thousands of lines long. A nightmare. Especially after that experience: 0.0 triggers per table and not a single trigger more.

                            I have lived with several Zen masters - all of them were cats.

                            S Offline
                            S Offline
                            Slacker007
                            wrote on last edited by
                            #19

                            CodeWraith wrote:

                            My former bosses

                            Database guys in charge of application development? Sounds like it to me.

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

                              I found we use SQL triggers a bit too much... 336 triggers on 1450 tables... (~23%)

                              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
                              PIEBALDconsult
                              wrote on last edited by
                              #20

                              Zero. Though I may have written one about ten years ago. Only as a convenience for debugging. It was not vital to the system.

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

                                I found we use SQL triggers a bit too much... 336 triggers on 1450 tables... (~23%)

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

                                J Offline
                                J Offline
                                Jeremy Falcon
                                wrote on last edited by
                                #21

                                Surely that would affect performance to have that many? Most DBs I've worked on tend to not have more than a few tops.

                                Jeremy Falcon

                                1 Reply Last reply
                                0
                                • S Slacker007

                                  CodeWraith wrote:

                                  My former bosses

                                  Database guys in charge of application development? Sounds like it to me.

                                  C Offline
                                  C Offline
                                  CodeWraith
                                  wrote on last edited by
                                  #22

                                  Even worse. Access guys in charge. I must have offended him when I looked at that stuff and asked him what this particular form of insanity is called.

                                  I have lived with several Zen masters - all of them were cats.

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

                                    I found we use SQL triggers a bit too much... 336 triggers on 1450 tables... (~23%)

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

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

                                    :sigh: I hate triggers spit Development - 0 triggers UAT and Production 3 triggers on each of the master tables. I have a script that uses a configuration table to create and remove audit triggers on selected tables for each database. As we have approx 15 databases, any 3 of which will be deployed to production in any month this script is a life saver.

                                    Never underestimate the power of human stupidity RAH

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

                                      Working on a review of the DB design to suggest improvements...

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

                                      abmvA Offline
                                      abmvA Offline
                                      abmv
                                      wrote on last edited by
                                      #24

                                      all the best

                                      Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

                                      We are in the beginning of a mass extinction. - Greta Thunberg

                                      1 Reply Last reply
                                      0
                                      • C CodeWraith

                                        The major part of the application logic took place in those triggers. Guess why I run out of job interviews when I hear 'Access' or ' Former Acess project that has ben ported to xxx'.

                                        I have lived with several Zen masters - all of them were cats.

                                        M Offline
                                        M Offline
                                        Mike Winiberg
                                        wrote on last edited by
                                        #25

                                        Hey! I'm (still) working on an Access project ported to SQL Server. Don't knock it if you haven't tried it! Triggers are useful, but to embed business logic? Then even I would run away... 8)

                                        C 1 Reply Last reply
                                        0
                                        • M Mike Winiberg

                                          Hey! I'm (still) working on an Access project ported to SQL Server. Don't knock it if you haven't tried it! Triggers are useful, but to embed business logic? Then even I would run away... 8)

                                          C Offline
                                          C Offline
                                          CodeWraith
                                          wrote on last edited by
                                          #26

                                          It's the 'We don't need any architecture or documentation, and you are a fool for asking.' mentality that I don't like. They can keep on doing their stuff as long as they like (or until their customers finally have enough), but I will not work like that again.

                                          I have lived with several Zen masters - all of them were cats.

                                          M 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