python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Is it possible to bind variables in select clause?
Can we bind variables in select clause like this:
String sql = "select ? name from user";
PreparedStatement = conn.prepareStatement(sql);
pstmnt.setString(1, "name");
or can we bi...
user1167753
Votes: 0
Answers: 1
how to set concatenated string parameter in preparedstatement
I have the following java code:
1- String sql="select * from mytable where params='file_name=?,report_name=?'"
2- stmt.setString(1, fileName);
3- stmt.setString(2, reportName);
I get the fo...
user1167753
Votes: 0
Answers: 1
Converting a Json to include prepared statements for security. Just getting [] or undefined
Someone mentioned on a previous post that I need to use prepared statements in my php to protect from attacks. I'm trying to convert my documents but it seems to be breaking everything.
Here is my ori...
Niwa
Votes: 0
Answers: 1
Clear prepared statement cache in AWS Keyspaces on table definition change
Is there an easy way to clear prepared statement cache in AWS Keyspaces?
Traditional tricks used on manual cassandra nodes cannot be used in the AWS Cloud.
In Cassandra, if the table definition change...
zenbeni
Votes: 0
Answers: 0