Talk:Prepared statement

PHP Data Objects shouldn't redirect to PHP...it is redundant here. — Preceding unsigned comment added by 68.13.152.97 (talk) 02:40, 13 April 2013 (UTC)

Would be interesting to know what the SQL standards have to say on this topic. What parts are standardized? In which standard? Where in the standard? How standard compliant are the various implementations? 212.126.160.88 (talk) 10:31, 14 April 2014 (UTC)

Help wanted: I have clarified this article (it wasn't just me; stackexchange users and others found it unclear.) It is especially important that code is separated from data. However something that will require more research and specialist knowledge is to disambiguate the use of the term "statement". As used in "prepared statement" it means something quite different from SQL syntax. A prepared statement is SQL DML and DCL, but not DDL, and includes both statements and queries in the strict sense of SQL Syntax. I am unsure how best to describe these distinctions and overloading of the word "statement". Dan Shearer (talk) 09:42, 18 October 2021 (UTC)