/srv/irclogs.ubuntu.com/2011/02/17/#ubuntu-us-fl.txt

=== excid3|mbp is now known as Amazeballs
Disturbed1hello.03:35
=== Amazeballs is now known as excid3|mbp
DammitJimmorning13:55
rmcbridemorning14:20
mhall119morninig15:22
munz_werkmornin15:27
reya276Good Afternoon Everyone16:53
crashsystemshah, I just got into work. funny time zones!16:53
reya276mhall119, man that script thing for MYSQL Kicks A$$!16:54
reya276crashsystems, really? cool...I just woke up from my power nap at the office16:55
reya276I love me them power naps, nothing better to refresh you16:55
crashsystemsIts only 8:56 here in California, which unfortunately is a bit too early for power naps.16:57
MichelleQnever too early for a power nap16:58
crashsystems:D16:58
maxolasersquadcrashsystems1: How's the Loco there in the Bay area?17:23
crashsystemsIt seems nice, though I've not been involved with it much.17:23
reya276crashsystems, bah, you don't need any other Loco your good with us right?17:50
DammitJimhey guys18:01
DammitJimis there any way to go to your bookmarks from chrome w/o opening a new tab?18:01
rmcbrideDammitJim: well there is the "other bookmarks" button, not sure if that's default or something I installed though18:21
DammitJimis that an extension?18:21
rmcbridedoesn't look like it is18:21
rmcbridebut perhaps you have to have a book mark bar up in order to see it. Trying to figure out where it came from now18:22
rmcbridethere's also Bookmark Manager in the configuration menu18:22
rmcbrideI'm running Natty Alpha, btu I don't think these are that new. I've just realized that I seldom use bookmarks any more18:23
rmcbrideoh perhaps you're talking chrome OS18:25
* rmcbride kicks self for not requesting one of those netbook thingies18:25
reya276DammitJim, I think you have to show your bookmarks bar and other bookmarks and that should show you what you want18:33
DammitJimI'm sorry... it's ChromeOS18:34
DammitJimlol18:34
reya276In my Chrome I have two places where I can bookmark, the Bookmarks bar and the Other Bookmarks18:34
DammitJimno, just chrome18:34
DammitJimnot oS18:34
DammitJimwhere is other bookmarks?18:34
reya276OS, not the web browser?18:34
DammitJimthe web browser, not os18:34
reya276right if you enable both it should give you what you are looking for18:35
reya276it works for me18:35
rmcbridecan enable the bar under Tools in the config menu18:37
reya276hey how can I do a select statement in MySQL although the table I'm using will be empty?21:13
maxolasersquadreya276: You can still run a select against it, you just won't get any data.21:20
maxolasersquadAre you wanting to join to an empty table, but still get results?21:20
maxolasersquadreya276: ^^^21:20
reya276no the issue is that although the query is coming back  empty the piece of code within a certain report will not work unless something is populated, I have create a variable, parameters but none of it seems to work, so at this moment my only option is21:22
reya276to make sure the DB sets the default for the column21:23
mhall119can you fix the report? seems that's there the actual bug lies21:23
maxolasersquadI agree.  The code asking for the data should be able to handle an empty dataset coming back.21:23
mhall119MySQL isn't going to return data that isn't there21:23
reya276ah ok I can set the default in the table schema21:23
reya276right21:23
maxolasersquadreya276: Out of curiosity, what are you using to generate the report?21:24
mhall119you can do: SELECT 0 as id, "" as foo, "" as bar21:24
mhall119to get 0,,21:24
reya276Coldfusion 8, why?21:25
reya276the syntax is very simple and there is nothing wrong with it, but the switch that I'm using does not like the fact that the result is NULL21:25
reya276bah...LOL....LOL the column name was wrong21:27
reya276Did I ever tell you guys how much I hate MS SQL SERVER(Any version). You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '100 PERCENT master_final.PayorCode, COUNT(DISTINCT master_final.MembNameNum) AS ' at line 1 21:30
reya276we are in the process of re-writing all of our SQL statements boy this is going to be awesome!21:31
reya276How would you do this in MySQL 'COUNT(DISTINCT master_final.MembNameNum) AS ' 21:32
reya276bah, where is the manual.....LOL this crap is driving me nuts i tell yah21:33
reya276BAH.....LOL.... it does not like TOP 100 Percent, CAKE!21:43
reya276WOW the statment is taking for ever to execute, why would that happen21:44
reya276man it to fetch 48 records it took 125.295 sec. That is crazy21:45
mhall119reya276: EXPLAIN $yoursql21:47
mhall119will tell you about indexes and such it's using (or more likely, not using)21:47
reya276oh and that was from the actual query analyzer21:47
=== excid3|mbp is now known as Amazeballs
reya276I think you are 100% whomever wrote this query used the damn WisyWig wizard to create the SQL statement hence I had to clean out dbo. and top 100 percent and all kinds of extra nonsense21:49
reya276seriously if you don't like to write code then why work in the field, is like a cop that does not want to use his gun21:50
reya276wow this does not make sense why would this query take so long22:19
reya276126.323 secs to execute way to long, I change the tables to myisam from innodb and nothing22:19
reya276Holy crap I moved one little thing from a having to where statement and the same query came back in 19.175 secs22:24

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!