append(Rlist, REClist, Olist), % why is REClist sufficiently
instantiated here??
Let's lift this out of the context of your program.
Take the query:
?- append([1,2,3],R,Out).
Clearly, the second argument of append is not instantiated - it is free.
Still, this query makes sense and executes fine.
Try it at home and tell us what you find weird about the answer to the
query.
You also ask about more efficient versions of generating primes ...
google for Erathostenes (sieve and Prolog might narrow things down).
Re: CBO & different execution plans ... This is the query: ... The explain plan when the schema owner executes the query (good ... 536 TABLE ACCESS BY INDEX ROWID HTS_ASSAY_RESULT (cr=56 pr=4 pw=0 ... (comp.databases.oracle.server)
Re: CBO & different execution plans ... This is the query: ... The explain plan when the schema owner executes the query ... It looks to me like the public synonyms are pointing at different ... (comp.databases.oracle.server)
Re: CBO & different execution plans ... This is the query: ... The explain plan when the schema owner executes the query (good ... It looks to me like the public synonyms are pointing at different ... There is a possibility that I am reading the execution plan... (comp.databases.oracle.server)
Re: How to get a variant returned from a c++ function in vb.net? ... > This function executes a SQL query and returns a ... > single value - whatever the query asks for: ...Dim cn As New SqlConnection ... not a pointer to a string as the function expects. ... (microsoft.public.dotnet.framework.interop)
Re: When do selects execute for multiple resultsets ...SQL Server executes each query and stops when its ... When the first resultset is ... The CommandTimeout is measured from the time you execute the query until the ... (microsoft.public.dotnet.framework.adonet)