INSERT data into a database

From Progzoo
Revision as of 17:40, 19 June 2009 by Andr3w (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Insert a new row ('Andrew', 2753) into the table book.

The two questions marks ? in the SQL statement INSERT INTO book VALUES (?,?) represent two parameters to the statement. Parameter 1 gets set to the string 'Andrew', parameter 2 gets set to the integer 2753.

[Font] [Default] [Show] [Resize] [History] [Profile]