Prepared Statements

Started by Eric Dahnkeover 22 years ago2 messagesgeneral
Jump to latest
#1Eric Dahnke
edahnke@nyc.yamaha.com

Does anyone know the exact definition of a Prepared Statement?

String sql = "SELECT count(id) FROM customer";
executeQuery(sql);

I assume the sql string is a prepared statement? Semantic debate here. -
Thx

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Eric Dahnke (#1)
Re: Prepared Statements

Eric Dahnke writes:

Does anyone know the exact definition of a Prepared Statement?

There are multiple levels at which you can prepare a statement. If you
just want a semantic debate, then there is no definite answer. If you
have a particular application problem, please state it.

--
Peter Eisentraut peter_e@gmx.net