python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
PHP MySQL prepared statement: procedural Insert / update example
I struggle to understand prepared statements in PHP to allow users to edit a MySQL-database.
The user input is UTF-8, typical examples are the name in Arabic, Chinese, ... It also generates a problem ...
Juergen
Votes: 0
Answers: 1
Is using quoted_name safe way for parametrizing table name and fields in python's SQL Alchemy?
I spent a lot of time looking for solution to parametrize table names and field names in SQL Alchemy plain textual SQL queries for SQL Server. I stumbled upon several stackoverflow questions and other...
M.wol
Votes: 0
Answers: 1
Preparing a SQL statement that contains paired single and double quotes in PHP
Here goes. I have a 200-line MySQL query that contains six different Excel formulas in one of the columns, like this:
SELECT '%%%=""Greg''s #""&INDIRECT(""G"&quo...
AcresOfClams
Votes: 0
Answers: 1
Retrive ids of ResultSet and return as java.sql.Array
I have the follow:
def getIds(name: String): java.sql.Array = {
val ids: Array[Integer] = Array()
val ps: PreparedStatement = connection.prepareStatement("SELECT id FROM table WHERE nam...
wviana
Votes: 0
Answers: 1