Thursday, 2010-03-11

*** zxiiro has quit IRC00:51
*** zxiiro has joined #ingres00:53
*** ChanServ sets mode: +v zxiiro00:53
*** grantc has joined #ingres01:09
*** KermitTheFragger has joined #ingres01:39
*** PaulM05 has joined #ingres02:56
grantcMorning Vroomfondle03:50
*** Mud has quit IRC03:50
*** Mud has joined #ingres03:56
*** cthibert has joined #ingres04:03
*** grantc has quit IRC04:19
*** grantc has joined #ingres04:20
*** ChanServ sets mode: +o grantc04:20
*** ChanServ changes topic to "This channel is logged and its archives are available @ http://irc.planetingres.org/ | Please use http://ingres.pastebin.com for pasting large (>2 lines) of text | | Please use http://ingres.pastebin.com for any code/SQL samples"04:21
grantcarg04:21
*** ChanServ changes topic to "this channel is logged and its archives are available @ http://irc.planetingres.org/ | Please use http://ingres.pastebin.com/ for pasting large (>2 lines) of text"04:22
*** ChanServ sets mode: -o grantc04:22
*** rossand has joined #ingres04:36
*** ChanServ sets mode: +o rossand04:36
*** Alex| has joined #ingres04:57
*** ChanServ sets mode: +o Alex|04:57
*** zxiiro has quit IRC05:05
*** PaulM05 is now known as PaulM05_lunch05:06
*** grantc has quit IRC05:07
*** grantc has joined #ingres05:08
*** gerhard has joined #ingres05:11
gerhardHi all05:11
grantchi gerhard05:12
*** grantc has quit IRC05:12
*** grantc has joined #ingres05:12
gerhardIs there any "set date_format..." that will set the display format to YYYYMMDD when selecting ingresdate fields in ISQL?05:13
grantcISO405:15
grantci think05:15
grantcsee http://ingres.pastebin.com/1ySjUdA505:17
*** Alex| has quit IRC05:21
gerhardThanks!05:24
grantcnp05:24
*** quelgeek has quit IRC05:43
*** zxiiro has joined #ingres05:45
*** ChanServ sets mode: +v zxiiro05:45
*** quelgeek has joined #ingres05:47
*** zxiiro has quit IRC05:48
*** zxiiro has joined #ingres05:49
*** ChanServ sets mode: +v zxiiro05:49
*** Alex| has joined #ingres05:59
*** ChanServ sets mode: +o Alex|05:59
*** PaulM05_lunch is now known as PaulM0506:04
*** Dejan has quit IRC06:19
*** gerhard has quit IRC06:22
*** gerhard has joined #ingres06:23
*** mull has joined #ingres06:58
*** Alex| has quit IRC07:03
*** gerhard has quit IRC07:09
*** quelgeek has quit IRC07:13
*** stliu has quit IRC07:23
*** Mud has quit IRC07:49
*** grantc has left #ingres07:53
*** Mud has joined #ingres07:56
*** Mud has quit IRC08:00
*** Alex| has joined #ingres08:37
*** ChanServ sets mode: +o Alex|08:37
*** zxiiro has quit IRC08:40
*** zxiiro has joined #ingres08:40
*** ChanServ sets mode: +v zxiiro08:40
*** KermitTheFragger has quit IRC09:02
*** grantc has joined #ingres09:02
*** ukjay has joined #ingres09:08
*** quelgeek has joined #ingres09:15
*** PaulM05 has quit IRC09:43
*** Mud|lalal has joined #ingres10:22
*** Mud2 has joined #ingres10:39
*** Mud2 is now known as Mud10:39
*** Mud|lalal has quit IRC10:41
*** withdefault has quit IRC11:30
*** quelgeek has quit IRC11:43
*** Mud has quit IRC11:50
*** Mud has joined #ingres11:55
*** cbain_ has joined #ingres12:28
*** cbain_ is now known as cbain12:28
*** rneves has joined #ingres12:31
rnevesnew to ingres, anyone lend a hand?12:31
Vroomfondlemmm?12:47
*** zxiiro has quit IRC13:00
rnevesneed to trim some trailing zeros off a float i'm pulling from ingres database13:12
rnevesis there an opensql function to do so in the query13:12
rnevesor an openroad function to take care of it once i have it in a variable?13:13
*** rossand has quit IRC13:15
*** Alex| has quit IRC13:19
Vroomfondlerneves: you can't trim trailing zeros from a float whilst it remains a proper float. You could char it.13:19
Vroomfondle(caveat: I know nothing of OpenROAD)13:19
rnevesyes i've converted it, even wrote a function to trim the trailing zeros, was hoping there was a better/more efficient way than the function i wrote13:20
Vroomfondlerneves: TRIM TRAILING '0' FROM mycolumn    ?13:22
*** cthibert has left #ingres13:23
Vroomfondlestill having char-ed it of course13:23
rnevesso if i have a "select float_field from table where whatever" and wish to char and apply what you've showed me ... how would i go about doing that? can it all be done in 1 query?13:25
rnevesthanks for your  help by the way13:25
VroomfondleI think:   SELECT (TRIM TRAILING '0' FROM char(float_field)) as trimmed_float FROM table WHERE whatever       *should* work13:26
Vroomfondlebut I've not tried it.13:26
Vroomfondlethis is assuming Ingres 9.2+ by the way13:26
VroomfondleI'm pretty sure it didn't use to work on 2.613:26
rnevesgonna give it a shot now13:29
Vroomfondleah, think I messed the syntax up a bit13:31
Vroomfondleyou may need TRIM(TRAILING '0' FROM char(float_field))13:31
rneveshmmm, didnt work13:35
rnevesif TRAILING a function?13:35
Vroomfondlewhat's the error?13:35
Vroomfondlethe documentation suggests not13:36
rnevesno error actualy13:36
rnevesjust didn't do it13:36
Vroomfondlehmm13:37
Vroomfondlehttp://docs.ingres.com/Ingres/9.2/SQL%20Reference%20Guide/stringfunctions.htm13:37
rneveshmmm indeed ... i'm gonna have to dig deeper to find out why this doesnt work13:42
rnevesthanks for your help13:42
rnevesmuch appreciated13:42
Vroomfondleno problem. Good luck.13:44
*** quelgeek has joined #ingres13:58
*** rneves has quit IRC14:13
*** rossand has joined #ingres14:30
*** ChanServ sets mode: +o rossand14:30
*** mull has quit IRC15:09
*** zxiiro has joined #ingres15:17
*** ChanServ sets mode: +v zxiiro15:17
*** Mud has quit IRC15:49
*** Mud has joined #ingres15:55
*** quelgeek has quit IRC16:49
*** DarylM has quit IRC16:50
*** quelgeek has joined #ingres17:12
*** quelgeek has quit IRC17:17
*** mull has joined #ingres17:25
*** quelgeek has joined #ingres17:39
*** atrofast has quit IRC17:41
*** rossand has quit IRC17:45
*** quelgeek has quit IRC17:48
*** quelgeek has joined #ingres18:22
*** mull has quit IRC19:20
*** cytrinox_ has joined #ingres19:20
*** cytrinox has quit IRC19:23
*** cytrinox_ is now known as cytrinox19:23
*** Mud has quit IRC19:51
*** Mud has joined #ingres19:56
*** grantc has quit IRC20:27
*** grantc has joined #ingres21:28
*** Alex| has joined #ingres22:36
*** ChanServ sets mode: +o Alex|22:36
*** Alex| has quit IRC23:01
*** Alex| has joined #ingres23:18
*** ChanServ sets mode: +o Alex|23:18
*** quelgeek has quit IRC23:29
*** Mud has quit IRC23:50
*** quelgeek has joined #ingres23:50
*** Mud has joined #ingres23:56

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