Note - the $xyz$ notation does not create a '?' for a prepared statement ... it's value (as indicated by Brandon) is placed into the SQL string before the prepared statement is generated.
How do I use the dollar sign notation (i.e. $xyz$) to send a string to
the database that has a pound sign on either side of it?
According to this post:
I should use a double pound to send the literal pound. Given this sql
<select parameterClass="map" resultClass="string">
SELECT Name FROM Band WHERE Name = '12##34$BandName$56##78'
Which of the two choices below should I see in my log files?
A) SELECT Name FROM Band WHERE Name = '12?78'
B) SELECT Name FROM Band WHERE Name = '12#34?56#78'