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 to parse an Select SQL string?

How to parse an Select SQL string?

Scheduled Pinned Locked Moved The Lounge
databasesql-serversysadminhelptutorial
7 Posts 6 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.
  • N Offline
    N Offline
    Nguyen Vu Cuong
    wrote on last edited by
    #1

    My project is now to parse the Select SQL String typed by the user to visualize the table, the relation ship, the type of JOIN, the Critical etc... in a form. Would you please give me some hints or some algorithms or tell me if there would an OCX solved this problem? I tried my best to solve this problem but it's too complicated. In MS SQL Server, the SQL string is parsed that is different from the SQL string parsed in MS Access. Thank you. PS: Actually, there are too many keywords in one SQL string, especially after FROM in the SQL string. And I don't care 'bout what databse is.

    J realJSOPR 2 Replies Last reply
    0
    • N Nguyen Vu Cuong

      My project is now to parse the Select SQL String typed by the user to visualize the table, the relation ship, the type of JOIN, the Critical etc... in a form. Would you please give me some hints or some algorithms or tell me if there would an OCX solved this problem? I tried my best to solve this problem but it's too complicated. In MS SQL Server, the SQL string is parsed that is different from the SQL string parsed in MS Access. Thank you. PS: Actually, there are too many keywords in one SQL string, especially after FROM in the SQL string. And I don't care 'bout what databse is.

      J Offline
      J Offline
      Jonathan de Halleux
      wrote on last edited by
      #2

      Wrong forum! Jonathan de Halleux - www.dotnetwiki.org - MbUnit - QuickGraph

      1 Reply Last reply
      0
      • N Nguyen Vu Cuong

        My project is now to parse the Select SQL String typed by the user to visualize the table, the relation ship, the type of JOIN, the Critical etc... in a form. Would you please give me some hints or some algorithms or tell me if there would an OCX solved this problem? I tried my best to solve this problem but it's too complicated. In MS SQL Server, the SQL string is parsed that is different from the SQL string parsed in MS Access. Thank you. PS: Actually, there are too many keywords in one SQL string, especially after FROM in the SQL string. And I don't care 'bout what databse is.

        realJSOPR Online
        realJSOPR Online
        realJSOP
        wrote on last edited by
        #3

        The unofficial CodeProject Help Page[^] ------- sig starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 "You won't like me when I'm angry..." - Dr. Bruce Banner Please review the Legal Disclaimer in my bio. ------- sig ends

        S M J 3 Replies Last reply
        0
        • realJSOPR realJSOP

          The unofficial CodeProject Help Page[^] ------- sig starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 "You won't like me when I'm angry..." - Dr. Bruce Banner Please review the Legal Disclaimer in my bio. ------- sig ends

          S Offline
          S Offline
          Shaun Wilde
          wrote on last edited by
          #4

          ... such restraint has never before been seen - do you have a special macro for that link?

          There are 10 sorts of people in this world. Those who understand binary and those that don't.
          www.many-monkeys.com

          realJSOPR 1 Reply Last reply
          0
          • S Shaun Wilde

            ... such restraint has never before been seen - do you have a special macro for that link?

            There are 10 sorts of people in this world. Those who understand binary and those that don't.
            www.many-monkeys.com

            realJSOPR Online
            realJSOPR Online
            realJSOP
            wrote on last edited by
            #5

            I save my best stuff for people that actually piss me off. :) As for a macro - no, I type it manually which usually pushes me further over the edge of annoyance, and causes me to go hunting around the SoapBox for people and ideologies to verbally toss onto the trash heap of absurdity. ------- sig starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 "You won't like me when I'm angry..." - Dr. Bruce Banner Please review the Legal Disclaimer in my bio. ------- sig ends

            1 Reply Last reply
            0
            • realJSOPR realJSOP

              The unofficial CodeProject Help Page[^] ------- sig starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 "You won't like me when I'm angry..." - Dr. Bruce Banner Please review the Legal Disclaimer in my bio. ------- sig ends

              M Offline
              M Offline
              Maxwell Chen
              wrote on last edited by
              #6

              So impressive! Maxwell Chen

              1 Reply Last reply
              0
              • realJSOPR realJSOP

                The unofficial CodeProject Help Page[^] ------- sig starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 "You won't like me when I'm angry..." - Dr. Bruce Banner Please review the Legal Disclaimer in my bio. ------- sig ends

                J Offline
                J Offline
                Jon Pawley
                wrote on last edited by
                #7

                Hey, John, You get a '1' from me... yeah, I know those dumb programming questions in the Lounge are a pain in the arse, but getting on towards the abusive end of the spectrum does nothing to promote the friendliness of CP. Laters, Jon

                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