dbTalk Databases Forums  

OO4O preparing statements?

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss OO4O preparing statements? in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Volker Hetzer
 
Posts: n/a

Default OO4O preparing statements? - 12-20-2005 , 10:40 AM






Hi!
I'd like to prepare all my statements before I start collecting data.
However, ExecuteSQL and CreateSLQ both run the statement as soon as they
are called.
Is there any way to create a statement without executing it?


Lots of Greetings!
Volker

Reply With Quote
  #2  
Old   
Jim Kennedy
 
Posts: n/a

Default Re: OO4O preparing statements? - 12-20-2005 , 11:30 AM







"Volker Hetzer" <volker.hetzer (AT) ieee (DOT) org> wrote

Quote:
Hi!
I'd like to prepare all my statements before I start collecting data.
However, ExecuteSQL and CreateSLQ both run the statement as soon as they
are called.
Is there any way to create a statement without executing it?


Lots of Greetings!
Volker
I usually wrap them in a procedure and the first time they are called they
run and thereafter I call the refresh method.
Jim




Reply With Quote
  #3  
Old   
Volker Hetzer
 
Posts: n/a

Default Re: OO4O preparing statements? - 12-21-2005 , 05:53 AM



Jim Kennedy wrote:
Quote:
"Volker Hetzer" <volker.hetzer (AT) ieee (DOT) org> wrote in message
news:do9c6c$5fu$1 (AT) nntp (DOT) fujitsu-siemens.com...
I'd like to prepare all my statements before I start collecting data.
However, ExecuteSQL and CreateSLQ both run the statement as soon as they
are called.
Is there any way to create a statement without executing it?
I usually wrap them in a procedure and the first time they are called they
run and thereafter I call the refresh method.
Yes, but I wanted to get rid of that this-is-my-first-call stuff...
But it looks like I'm stuck with it.

Lots of thanks nevertheless.
Volker


Reply With Quote
  #4  
Old   
Jim Kennedy
 
Posts: n/a

Default Re: OO4O preparing statements? - 12-21-2005 , 09:55 AM




"Volker Hetzer" <volker.hetzer (AT) ieee (DOT) org> wrote

Quote:
Jim Kennedy wrote:
"Volker Hetzer" <volker.hetzer (AT) ieee (DOT) org> wrote in message
news:do9c6c$5fu$1 (AT) nntp (DOT) fujitsu-siemens.com...
I'd like to prepare all my statements before I start collecting data.
However, ExecuteSQL and CreateSLQ both run the statement as soon as they
are called.
Is there any way to create a statement without executing it?
I usually wrap them in a procedure and the first time they are called
they
run and thereafter I call the refresh method.
Yes, but I wanted to get rid of that this-is-my-first-call stuff...
But it looks like I'm stuck with it.

Lots of thanks nevertheless.
Volker
You could search for something that can't exist. It will do the query, but
not return any rows.
Jim




Reply With Quote
  #5  
Old   
Volker Hetzer
 
Posts: n/a

Default Re: OO4O preparing statements? - 12-23-2005 , 04:15 AM



Jim Kennedy wrote:
Quote:
"Volker Hetzer" <volker.hetzer (AT) ieee (DOT) org> wrote in message
news:dobfo4$ebh$1 (AT) nntp (DOT) fujitsu-siemens.com...

Jim Kennedy wrote:

"Volker Hetzer" <volker.hetzer (AT) ieee (DOT) org> wrote in message
news:do9c6c$5fu$1 (AT) nntp (DOT) fujitsu-siemens.com...

I'd like to prepare all my statements before I start collecting data.
However, ExecuteSQL and CreateSLQ both run the statement as soon as they
are called.
Is there any way to create a statement without executing it?

I usually wrap them in a procedure and the first time they are called

they

run and thereafter I call the refresh method.

Yes, but I wanted to get rid of that this-is-my-first-call stuff...
But it looks like I'm stuck with it.

Lots of thanks nevertheless.
Volker

You could search for something that can't exist. It will do the query, but
not return any rows.
My statements were inserts.
Well, unfortunately, it turned out it was too slow anyway, even with array binds.
Next stop:sql*loader...
I really didn't expect it to be so hard loading a couple hundred thousand
spatial objects into a database.

Lots of Greetings and thanks nevertheless!
Volker


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.