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. The logic is gone..

The logic is gone..

Scheduled Pinned Locked Moved The Lounge
databasetestingbeta-testing
15 Posts 8 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.
  • M Offline
    M Offline
    mSh1985
    wrote on last edited by
    #1

    So here i am at work, thinking i can finish my project today, only thing i had to do was writing a simple screen which shows some data from the database. I finished all of my code, only when testing i realized that the data displayed on the screen, is not the same as the data in my database. I started debugging checking where i made a mistake in my code.. no mistakes to be found. It seems that the moment i fill my datatable in my program, the data is all wrong. So i doublechecked my sql, my connectionstring.. well everything. Everything seems to be right, the only difference is: executing the sql from my program gives other results than executing the sql from sql developer :sigh: it's going to be a loooong day it's always amusing reading the posts here when people have strange problems, knowing that i have none of my own, seems te be the other way around today :laugh:

    N C M L M 6 Replies Last reply
    0
    • M mSh1985

      So here i am at work, thinking i can finish my project today, only thing i had to do was writing a simple screen which shows some data from the database. I finished all of my code, only when testing i realized that the data displayed on the screen, is not the same as the data in my database. I started debugging checking where i made a mistake in my code.. no mistakes to be found. It seems that the moment i fill my datatable in my program, the data is all wrong. So i doublechecked my sql, my connectionstring.. well everything. Everything seems to be right, the only difference is: executing the sql from my program gives other results than executing the sql from sql developer :sigh: it's going to be a loooong day it's always amusing reading the posts here when people have strange problems, knowing that i have none of my own, seems te be the other way around today :laugh:

      N Offline
      N Offline
      NormDroid
      wrote on last edited by
      #2

      I'd worry, I'd seriously worry.

      I wish I could tell you that the Monopoly guy fought the good fight and the Sisters let him be. I wish I could tell you that. But prison is no fairy-tale world

      M 1 Reply Last reply
      0
      • M mSh1985

        So here i am at work, thinking i can finish my project today, only thing i had to do was writing a simple screen which shows some data from the database. I finished all of my code, only when testing i realized that the data displayed on the screen, is not the same as the data in my database. I started debugging checking where i made a mistake in my code.. no mistakes to be found. It seems that the moment i fill my datatable in my program, the data is all wrong. So i doublechecked my sql, my connectionstring.. well everything. Everything seems to be right, the only difference is: executing the sql from my program gives other results than executing the sql from sql developer :sigh: it's going to be a loooong day it's always amusing reading the posts here when people have strange problems, knowing that i have none of my own, seems te be the other way around today :laugh:

        C Offline
        C Offline
        Corporal Agarn
        wrote on last edited by
        #3

        Do not forget to let us know what the problem was.

        M 1 Reply Last reply
        0
        • N NormDroid

          I'd worry, I'd seriously worry.

          I wish I could tell you that the Monopoly guy fought the good fight and the Sisters let him be. I wish I could tell you that. But prison is no fairy-tale world

          M Offline
          M Offline
          mSh1985
          wrote on last edited by
          #4

          so apparently sql developer and sql plus give different results with the same sql :confused: this ought to be fun to solve.... i need a beer

          N 1 Reply Last reply
          0
          • C Corporal Agarn

            Do not forget to let us know what the problem was.

            M Offline
            M Offline
            mSh1985
            wrote on last edited by
            #5

            i really hope that some day i can :laugh:

            1 Reply Last reply
            0
            • M mSh1985

              So here i am at work, thinking i can finish my project today, only thing i had to do was writing a simple screen which shows some data from the database. I finished all of my code, only when testing i realized that the data displayed on the screen, is not the same as the data in my database. I started debugging checking where i made a mistake in my code.. no mistakes to be found. It seems that the moment i fill my datatable in my program, the data is all wrong. So i doublechecked my sql, my connectionstring.. well everything. Everything seems to be right, the only difference is: executing the sql from my program gives other results than executing the sql from sql developer :sigh: it's going to be a loooong day it's always amusing reading the posts here when people have strange problems, knowing that i have none of my own, seems te be the other way around today :laugh:

              M Offline
              M Offline
              Mark_Wallace
              wrote on last edited by
              #6

              Check the carburetor. If that's not it, blame Windows.

              I wanna be a eunuchs developer! Pass me a bread knife!

              N 1 Reply Last reply
              0
              • M mSh1985

                so apparently sql developer and sql plus give different results with the same sql :confused: this ought to be fun to solve.... i need a beer

                N Offline
                N Offline
                Nagy Vilmos
                wrote on last edited by
                #7

                mSh1985 wrote:

                so apparently sql developer and sql plus give different results with the same sql this ought to be fun to solve.... i need a beer

                FTFY :beer:


                Panic, Chaos, Destruction. My work here is done.

                1 Reply Last reply
                0
                • M Mark_Wallace

                  Check the carburetor. If that's not it, blame Windows.

                  I wanna be a eunuchs developer! Pass me a bread knife!

                  N Offline
                  N Offline
                  Nagy Vilmos
                  wrote on last edited by
                  #8

                  I thought it was blame Windows then check the carb.


                  Panic, Chaos, Destruction. My work here is done.

                  M 1 Reply Last reply
                  0
                  • N Nagy Vilmos

                    I thought it was blame Windows then check the carb.


                    Panic, Chaos, Destruction. My work here is done.

                    M Offline
                    M Offline
                    Mark_Wallace
                    wrote on last edited by
                    #9

                    No, because if it is the carb, you can fix it, then blame Windows anyway. Saves time for the fix.

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    1 Reply Last reply
                    0
                    • M mSh1985

                      So here i am at work, thinking i can finish my project today, only thing i had to do was writing a simple screen which shows some data from the database. I finished all of my code, only when testing i realized that the data displayed on the screen, is not the same as the data in my database. I started debugging checking where i made a mistake in my code.. no mistakes to be found. It seems that the moment i fill my datatable in my program, the data is all wrong. So i doublechecked my sql, my connectionstring.. well everything. Everything seems to be right, the only difference is: executing the sql from my program gives other results than executing the sql from sql developer :sigh: it's going to be a loooong day it's always amusing reading the posts here when people have strange problems, knowing that i have none of my own, seems te be the other way around today :laugh:

                      L Offline
                      L Offline
                      Luc Pattyn
                      wrote on last edited by
                      #10

                      are you accessing the right database each time? :)

                      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                      I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


                      C 1 Reply Last reply
                      0
                      • M mSh1985

                        So here i am at work, thinking i can finish my project today, only thing i had to do was writing a simple screen which shows some data from the database. I finished all of my code, only when testing i realized that the data displayed on the screen, is not the same as the data in my database. I started debugging checking where i made a mistake in my code.. no mistakes to be found. It seems that the moment i fill my datatable in my program, the data is all wrong. So i doublechecked my sql, my connectionstring.. well everything. Everything seems to be right, the only difference is: executing the sql from my program gives other results than executing the sql from sql developer :sigh: it's going to be a loooong day it's always amusing reading the posts here when people have strange problems, knowing that i have none of my own, seems te be the other way around today :laugh:

                        M Offline
                        M Offline
                        mSh1985
                        wrote on last edited by
                        #11

                        Okaaaaay... So i found out that when i did a "select count(*)" from a certain table sql plus said: no rows selected, sql developer: 416 rows selected I closed my connection in sql developer, reconnected, still the same problem Tried opening sql developer on another pc, no rows selected... I closed my sql developer on my own pc, opened it again, still 416 rows Tried again on the other pc, also 416 rows Tried with sql plus, 416 rows.. Something went seriously wrong with sql developer which resulted in problems everywhere except in sql developer, still don't know what happened, i'm just happy everything is normal again :-D

                        N C 2 Replies Last reply
                        0
                        • M mSh1985

                          Okaaaaay... So i found out that when i did a "select count(*)" from a certain table sql plus said: no rows selected, sql developer: 416 rows selected I closed my connection in sql developer, reconnected, still the same problem Tried opening sql developer on another pc, no rows selected... I closed my sql developer on my own pc, opened it again, still 416 rows Tried again on the other pc, also 416 rows Tried with sql plus, 416 rows.. Something went seriously wrong with sql developer which resulted in problems everywhere except in sql developer, still don't know what happened, i'm just happy everything is normal again :-D

                          N Offline
                          N Offline
                          Nagy Vilmos
                          wrote on last edited by
                          #12

                          Moons go I had a problem with an Oracle DB connection over the network when it became overloaded. Mr Oracle, AFAIR Larry's assistant's assistant said it wasn't their fault but the networks. I replaced the compliminated query with something like:

                          SELECT 1 FROM SYS.CONFIG;

                          It still went t!ts up and they dispatched a fire fighter to sort out the problem. At the end of the day, the tracing software they had to make sure everything worked, rather than allowing TCP/IP to do its job, was causing locks that resulted in lost packets.


                          Panic, Chaos, Destruction. My work here is done.

                          1 Reply Last reply
                          0
                          • L Luc Pattyn

                            are you accessing the right database each time? :)

                            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                            I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


                            C Offline
                            C Offline
                            Corporal Agarn
                            wrote on last edited by
                            #13

                            I did that once. Forgot to change the connection string and thought I had. What a headache. :)

                            1 Reply Last reply
                            0
                            • M mSh1985

                              Okaaaaay... So i found out that when i did a "select count(*)" from a certain table sql plus said: no rows selected, sql developer: 416 rows selected I closed my connection in sql developer, reconnected, still the same problem Tried opening sql developer on another pc, no rows selected... I closed my sql developer on my own pc, opened it again, still 416 rows Tried again on the other pc, also 416 rows Tried with sql plus, 416 rows.. Something went seriously wrong with sql developer which resulted in problems everywhere except in sql developer, still don't know what happened, i'm just happy everything is normal again :-D

                              C Offline
                              C Offline
                              Chris Meech
                              wrote on last edited by
                              #14

                              mSh1985 wrote:

                              select count(*)

                              A potential disaster, waiting to happen. :) Try this instead

                              select count(ROWID)

                              :cool:

                              Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

                              1 Reply Last reply
                              0
                              • M mSh1985

                                So here i am at work, thinking i can finish my project today, only thing i had to do was writing a simple screen which shows some data from the database. I finished all of my code, only when testing i realized that the data displayed on the screen, is not the same as the data in my database. I started debugging checking where i made a mistake in my code.. no mistakes to be found. It seems that the moment i fill my datatable in my program, the data is all wrong. So i doublechecked my sql, my connectionstring.. well everything. Everything seems to be right, the only difference is: executing the sql from my program gives other results than executing the sql from sql developer :sigh: it's going to be a loooong day it's always amusing reading the posts here when people have strange problems, knowing that i have none of my own, seems te be the other way around today :laugh:

                                D Offline
                                D Offline
                                Dr Walt Fair PE
                                wrote on last edited by
                                #15

                                Sounds like something a sledge hammer could fix quickly. :) Good luck and let us know what happened!

                                CQ de W5ALT

                                Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                                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