I use the following script within a components actionPerformed script area and it works great for Inserting/adding a new row into an existing db table.
system.db.runPrepUpdate(INSERT INTO table(t_stamp, name.....)
Now I would like to use a actionperformed script to Update an existing row within an existing table.
Where do I start? Help.
Iām learning this as I go, What would a named query look like?
Your solution is a prepared statement, what terms would you use to describe my solution?
Well, I can't use the appropriate words on a family-friendly website. /-:
Generically, it is a query produced from manual string substitution. Anything in your substitutions that could be interpreted by your DB as a delimiter will break it. And if those substitutions are supplied by a user, it is a security hazard known as SQL injection.