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. The Weird and The Wonderful
  4. Well is it SQL or isn't it?

Well is it SQL or isn't it?

Scheduled Pinned Locked Moved The Weird and The Wonderful
databasequestion
15 Posts 6 Posters 110 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.
  • P PIEBALDconsult

    I had a WTF :wtf: moment while reading the documentation for a "database" system I'm evaluating (name changed to protect the guilty): " The precedence of arithmetical operators in SQL expressions differs from the SQL-92 standard. Fubar's SQL parses arithmetic expressions in strict left-to-right order, with no operator precedence. " I'm certainly glad I read that before trying to do any actual work with it. I wonder whether or not anyone's been bitten by it. Certainly there's a work-around (lots of infuriating silly parentheses), but does anyone else find this unacceptable in a modern database system?

    D Offline
    D Offline
    Dave Kreskowiak
    wrote on last edited by
    #4

    Well that was easy to find: InterSystems Caché SQL[^].

    A guide to posting questions on CodeProject[^]
    Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
         2006, 2007

    P P 2 Replies Last reply
    0
    • D Dave Kreskowiak

      Well that was easy to find: InterSystems Caché SQL[^].

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

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

      So much for protecting the guilty.

      D 1 Reply Last reply
      0
      • P PIEBALDconsult

        So much for protecting the guilty.

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #6

        The exact quote from the site made it very easy to find. :-D

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007

        P 1 Reply Last reply
        0
        • D Dave Kreskowiak

          The exact quote from the site made it very easy to find. :-D

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007

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

          (I know)

          1 Reply Last reply
          0
          • D Dario Solera

            We want that name... to stay away. :-D

            If you truly believe you need to pick a mobile phone that "says something" about your personality, don't bother. You don't have a personality. A mental illness, maybe - but not a personality. - Charlie Brooker My Blog - My Photos - ScrewTurn Wiki

            P Offline
            P Offline
            Paul Conrad
            wrote on last edited by
            #8

            See Dave's post. I looked at that particular database some years ago, and never looked back at it.

            "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

            1 Reply Last reply
            0
            • D Dave Kreskowiak

              Well that was easy to find: InterSystems Caché SQL[^].

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #9

              I took a look, briefly, some years ago at that database, and never really got into it, even though they have those odd ads in Dr. Dobb's Journal all the time...

              "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

              S 1 Reply Last reply
              0
              • P Paul Conrad

                I took a look, briefly, some years ago at that database, and never really got into it, even though they have those odd ads in Dr. Dobb's Journal all the time...

                "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                S Offline
                S Offline
                StevenWalsh
                wrote on last edited by
                #10

                It says its the fastest database though? I wonder how it compares to say sqlite

                P 1 Reply Last reply
                0
                • S StevenWalsh

                  It says its the fastest database though? I wonder how it compares to say sqlite

                  P Offline
                  P Offline
                  Paul Conrad
                  wrote on last edited by
                  #11

                  StevenWalsh wrote:

                  I wonder how it compares to say sqlite

                  I am not sure. I haven't really worked with sqlite and I hear alot of good things about it. I am tempted to put together a Northwind style of a database, build it on a number of different database platforms, test out performance and write up an article here about the results. Hmmmm... :)

                  "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                  S 1 Reply Last reply
                  0
                  • P Paul Conrad

                    StevenWalsh wrote:

                    I wonder how it compares to say sqlite

                    I am not sure. I haven't really worked with sqlite and I hear alot of good things about it. I am tempted to put together a Northwind style of a database, build it on a number of different database platforms, test out performance and write up an article here about the results. Hmmmm... :)

                    "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                    S Offline
                    S Offline
                    StevenWalsh
                    wrote on last edited by
                    #12

                    That would be a very interesting article.

                    P 1 Reply Last reply
                    0
                    • S StevenWalsh

                      That would be a very interesting article.

                      P Offline
                      P Offline
                      Paul Conrad
                      wrote on last edited by
                      #13

                      There are many different approaches to this, and I have to figure which are the most meaningful and what assumptions should be made...

                      "The clue train passed his station without stopping." - John Simmons / outlaw programmer

                      P 1 Reply Last reply
                      0
                      • P Paul Conrad

                        There are many different approaches to this, and I have to figure which are the most meaningful and what assumptions should be made...

                        "The clue train passed his station without stopping." - John Simmons / outlaw programmer

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

                        One of the first assumptions would be that proper order of operations is followed. Be sure to test it though.

                        P 1 Reply Last reply
                        0
                        • P PIEBALDconsult

                          One of the first assumptions would be that proper order of operations is followed. Be sure to test it though.

                          P Offline
                          P Offline
                          Paul Conrad
                          wrote on last edited by
                          #15

                          Thanks for the tip. I was thinking along the lines of building a test suite app where the user can choose which database platforms he/she has, run tests on the throughput of SELECT statements fetching various numbers of rows ( i.e., first pass would get first 100, then second pass, first 200, then third pass, the first 400 - doubling each time until a certain point, say 1,600.), do the same for INSERTS, UPDATES, and DELETES. One item of caution would be that more databases they choose from, the longer the test has the potential to take. There could be network considerations to take into place. As you can see, this could end up being a pretty big deal. Maybe just start of simple, then advance it. I could just go on and on :rolleyes:

                          "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                          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