Re: [SQL] RE: Create table in functions

2000-08-31 Thread Jan Wieck
Andreas Tille wrote: > On Thu, 24 Aug 2000, Hiroshi Inoue wrote: > > > Hmm,Andreas's original function seems to contain other statements. > > If the function contains DML statements for the table Temp_Num_Table, > > it wouldn't work properly. i.e 1st call would work but 2nd call woudn't. > That's

[SQL] optimal performance for inserts

2000-08-31 Thread Rini Dutta
Thanks for your suggestions, though I've already considered most of them. (I have a detailed reply below, interleaved with your mail). I am considering an option but would need help from somebody who knows how the backend works to be able to figure out if any of the following options would help.

Re: [SQL] Outer join statement ?

2000-08-31 Thread Alexandru COSTIN
Hello, There are 2 ways of doing outer joins, both are relatively expensive from the CPU time point of view 1. Create a function that returns the ojined value, or null if the value does not exists in the secod table 2. Use a union beetwen a left join and a straight select with a wh