00:36:02 loggy has joined #openacs 00:36:02 topic is: Welcome to the OpenACS helpline http://openacs.org 00:36:02 Users on #openacs: loggy davb zzzirk chump strainmaker rbm abbaJ AaronSw shagster andyn GEM 00:36:02 This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog 00:36:43 Good question. I haven't learned in depth yet. Check out the w3c.org pages. 00:37:19 http://www.xmlhack.com 00:37:19 B: http://www.xmlhack.com from davb 00:37:26 B:|XMLhack.com 00:37:26 titled item B 00:37:35 B: XML news and links to XML resources 00:37:35 commented item B 00:51:23 brb 00:51:24 davb has quit 02:57:19 gilbertw has joined #openacs 03:48:52 davb has joined #openacs 03:55:17 gilbertw has quit 03:55:25 ChanServ has changed the topic to: Welcome to the OpenACS Helpline | http://www.openacs.org/ 03:55:36 This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog 03:55:38 gilbertw has joined #openacs 03:55:38 gilbertw has left #openacs 04:05:00 davb has quit 04:39:50 gilbertw has joined #openacs 05:11:14 gilbertw has quit 06:44:48 djg has joined #openacs 06:58:00 PascalS has joined #openacs 06:58:09 mornin! 08:22:23 til has joined #openacs 09:13:26 ola has joined #openacs 09:17:44 ola has quit 09:17:48 ola has joined #openacs 09:54:37 til has quit 10:57:10 til has joined #openacs 11:37:55 davb has joined #openacs 11:49:58 davb has quit 12:03:29 a quick oracle q: i want to call a function but i am not interested in the return value (e.g. no variable to put the value in) - what's the syntax for that? 12:22:43 davb has joined #openacs 13:02:30 why not just "select func() from dual" ? 13:05:01 that gave me "PLS-00428: an INTO clause is expected in this SELECT statement" 13:05:16 so i did "select func() into dummy from dual" 13:07:11 is that the recommended way to do this? its a bit annoying that the dummy variable has to be declared 13:19:16 I don't think that's necessary? 13:19:32 You are trying to get the value of a function? 13:20:12 no, i just want to call the function but i am not interested in the return value 13:20:22 In Oracle? 13:20:26 yes 13:20:59 inside a package, that is 13:21:15 Inside a PL/SQL procedure? 13:21:19 yes 13:21:29 I think you can just call it like this func(); 13:21:39 Maybe you don't need the ; 13:21:46 you don't need a select in oracle. 13:21:56 afaik that doesnt work in oracle 13:22:03 but just ignore the return vale? 13:22:45 You are calling a function that returns a value, but you don't need the value? 13:24:41 how about v_dummy_variable := function(); 13:25:17 Here is how to call a procedure that does not return a value: 13:25:18 acs_permission.grant_permission( 13:25:18 644 | object_id => folder_row.folder_id, 13:25:18 645 | grantee_id => static_page.grant_permission.grantee_id, 13:25:18 646 | privilege => static_page.grant_permission.privilege 13:25:18 647 | ); 13:25:25 ick.. sorry 13:25:39 acs_permission.grant_permission(values); 13:26:28 but grant_permission is a procedure, not a function i guess? 13:26:53 when i just called func(); it gave me a "PLS-00221: 'ADD_CONTENT' is not a procedure or is undefined" 13:27:12 add_content is the name of the function 13:33:52 til has quit 13:34:13 til has joined #openacs 13:42:58 AaronSw has quit 13:48:45 til. you need to call it like this packagename.add_content 13:54:39 I have no idea what I am doing, I am just copying from the openacs source. 14:00:07 i tried it like this but i am getting the compilation error above ... but i have a terrible suspicion - maybe it was all my fault and i did not recreate the package that i am calling (i'll just reinstall and then ask again if still necessary) 14:04:07 markd has joined #openacs 14:23:42 Hi markd! 14:24:31 good luck til 14:25:10 thanx davb ... 14:38:10 hiya 14:38:16 what's til up to? 14:40:14 i was wondering how to call a function from within oracle plsql when i am not interested in the return value (without putting it in a dummy variable) 14:40:55 doing func(params); returned a compilation error ... but i suspect there's something wrong with my installation so i am reinstalling now 14:42:04 select func() from dual; 14:42:25 you need the "from dual" in Oracle. 14:43:03 rbm: tried that and oracle said: "PLS-00428: an INTO clause is expected in this SELECT statement" 14:45:44 can you write a procedure that calls the function, does the assigning to a variable? and then not do anything with the reply 14:46:15 might be easier than trying to contort some sql to drop the return value 14:47:03 (and if your'e needing to drop the return value, then it may make sense to re-code the function in question to not return a value) 14:50:13 ok, i will suggest that to vinod who wrote the acs-mail package with the function that i want to call 14:50:29 is it possible to overload a function with a procedure in oracle? 14:51:13 it's only cosmetic though, nothing stops me from doing a select func() into dummy from dual; 14:52:26 hmmm.. dunno about the overloading 14:52:29 it might work 14:53:34 ola has quit 14:55:18 ola has joined #openacs 15:00:10 til: oh 15:02:45 markd has quit 15:06:16 markd has joined #openacs 15:07:21 til has quit 15:07:39 til has joined #openacs 15:10:35 still doesn't work after reinstall. seems a function must be called like "select func() into v_dummy from dual;" 15:32:44 PascalS has quit 15:43:32 y 15:44:12 z 15:44:52 hmm tzpical tzpos if zou have to switch kezboards often ;) 15:48:43 heh 15:48:54 matto has joined #openacs 15:49:03 matto has left #openacs 15:49:08 SuSE 7.1's installer has a problem - no matter what you choose as the keyboard type during installation, it uses a german layout upon first boot, 16:25:32 andyn has quit 16:32:16 andyn has joined #openacs 16:37:19 markd has quit 17:06:11 Psychephylax has joined #openacs 17:06:26 * Psychephylax begins writing his proposal 17:38:04 markd has joined #openacs 17:53:37 markd is now known as markd2 17:53:42 markd2 is now known as markd 17:53:55 markd has quit 17:53:55 til has quit 18:09:31 Psychephylax has quit 18:19:28 AaronSw has joined #openacs 18:24:18 http://allbusiness.findlaw.com/agreements/handspring/softwarelic.html 18:24:19 A: http://allbusiness.findlaw.com/agreements/handspring/softwarelic.html from GEM 18:39:02 markd has joined #openacs 18:43:24 strainmaker has quit 18:46:03 markd is now known as d34thl0rD 18:46:27 * d34thl0rD is L33t 18:46:30 d34thl0rD is now known as markd 19:16:56 a:Palm OS licensing agreement 19:17:35 A: Palm OS licensing agreement 19:17:36 commented item A 19:50:26 vinod has joined #openacs 20:07:50 hey Vinod 20:08:20 hey mark! what's new? 20:08:54 not much 20:09:02 came back from a friend's wedding yesterday 20:09:03 down in Virginia 20:10:05 cool! where in VA? 20:10:11 Fairfax 20:10:42 drove down saturday morning, headed back sunday 20:10:45 nice. one of my best friends lives there. i just visited him a month ago 20:10:52 how long of a drive is that? 20:11:33 cool 20:11:39 about 4 1/2 hours 20:11:46 sometimes just 4 depending on how fast we go 20:13:01 not too bad. i took the bus down from here to visit him and it took 10 hrs (with stops) 20:13:09 won't do that again! 21:11:52 vinod has quit 22:18:39 markd has quit 22:38:22 ola has quit 23:29:43 davb has quit 23:49:43 til has joined #openacs