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. General Programming
  3. WPF
  4. SQLite Manager

SQLite Manager

Scheduled Pinned Locked Moved WPF
sqlitehelptutorialquestion
9 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.
  • K Offline
    K Offline
    Kevin Marois
    wrote on last edited by
    #1

    Part 1 I'm using SQLiteStudio 3.0.5. It's OK, but one think I can't figure out is how to execute 2 queries AND have both their results show at the time time:

    SELECT * FROM Table1;
    [UPDATED - OOPS]
    SELECT * FROM Table2

    This runs but only displays the results from Table 2. Part 2 Anyone know of a better tool? Thanks

    If it's not broken, fix it until it is

    Richard Andrew x64R N P 3 Replies Last reply
    0
    • K Kevin Marois

      Part 1 I'm using SQLiteStudio 3.0.5. It's OK, but one think I can't figure out is how to execute 2 queries AND have both their results show at the time time:

      SELECT * FROM Table1;
      [UPDATED - OOPS]
      SELECT * FROM Table2

      This runs but only displays the results from Table 2. Part 2 Anyone know of a better tool? Thanks

      If it's not broken, fix it until it is

      Richard Andrew x64R Offline
      Richard Andrew x64R Offline
      Richard Andrew x64
      wrote on last edited by
      #2

      SELECT * FROM Table1

      Shows results from Table2?

      The difficult we do right away... ...the impossible takes slightly longer.

      K 1 Reply Last reply
      0
      • Richard Andrew x64R Richard Andrew x64

        SELECT * FROM Table1

        Shows results from Table2?

        The difficult we do right away... ...the impossible takes slightly longer.

        K Offline
        K Offline
        Kevin Marois
        wrote on last edited by
        #3

        Sorry, typo -

        SELECT * FROM Table1;
        SELECT * FROM Table2

        Only shows the results from table2. SQL Management Studio shows one table for each query

        If it's not broken, fix it until it is

        1 Reply Last reply
        0
        • K Kevin Marois

          Part 1 I'm using SQLiteStudio 3.0.5. It's OK, but one think I can't figure out is how to execute 2 queries AND have both their results show at the time time:

          SELECT * FROM Table1;
          [UPDATED - OOPS]
          SELECT * FROM Table2

          This runs but only displays the results from Table 2. Part 2 Anyone know of a better tool? Thanks

          If it's not broken, fix it until it is

          N Offline
          N Offline
          NickPace
          wrote on last edited by
          #4

          Not exactly sure what you're after here. If the tables are related then you need to join them on a common field and show the results as one query. If they are not related you can always use a cross join which will return rows from table1 combined with each row of table2: SELECT * FROM Table1 CROSS JOIN Table2 or SELECT * FROM Table1, Table2

          -NP Never underestimate the creativity of the end-user.

          K 1 Reply Last reply
          0
          • N NickPace

            Not exactly sure what you're after here. If the tables are related then you need to join them on a common field and show the results as one query. If they are not related you can always use a cross join which will return rows from table1 combined with each row of table2: SELECT * FROM Table1 CROSS JOIN Table2 or SELECT * FROM Table1, Table2

            -NP Never underestimate the creativity of the end-user.

            K Offline
            K Offline
            Kevin Marois
            wrote on last edited by
            #5

            Nothing to do with joins... Paste the following into SSMS

            SELECT * FROM Table1
            SELECT * FROM Table2

            Press F5. The queries both run and both result sets are displayed. When I do this in SQLiteManager, only the last result set is displayed.

            If it's not broken, fix it until it is

            M L 2 Replies Last reply
            0
            • K Kevin Marois

              Nothing to do with joins... Paste the following into SSMS

              SELECT * FROM Table1
              SELECT * FROM Table2

              Press F5. The queries both run and both result sets are displayed. When I do this in SQLiteManager, only the last result set is displayed.

              If it's not broken, fix it until it is

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

              Does sticking GO; between the statements change the results?

              Never underestimate the power of human stupidity RAH

              1 Reply Last reply
              0
              • K Kevin Marois

                Nothing to do with joins... Paste the following into SSMS

                SELECT * FROM Table1
                SELECT * FROM Table2

                Press F5. The queries both run and both result sets are displayed. When I do this in SQLiteManager, only the last result set is displayed.

                If it's not broken, fix it until it is

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

                Try http://www.sqlabs.com/support.php[^].

                1 Reply Last reply
                0
                • K Kevin Marois

                  Part 1 I'm using SQLiteStudio 3.0.5. It's OK, but one think I can't figure out is how to execute 2 queries AND have both their results show at the time time:

                  SELECT * FROM Table1;
                  [UPDATED - OOPS]
                  SELECT * FROM Table2

                  This runs but only displays the results from Table 2. Part 2 Anyone know of a better tool? Thanks

                  If it's not broken, fix it until it is

                  P Offline
                  P Offline
                  Pete OHanlon
                  wrote on last edited by
                  #8

                  What does this have to do with WPF or Silverlight?

                  K 1 Reply Last reply
                  0
                  • P Pete OHanlon

                    What does this have to do with WPF or Silverlight?

                    K Offline
                    K Offline
                    Kevin Marois
                    wrote on last edited by
                    #9

                    Absolutly nothing. I posted in the wrong formum

                    If it's not broken, fix it until it is

                    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