Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

One or more values to pass in a prompt - response (1) by dnoeth

$
0
0

How is the value for #sq(prompt(''))# filled/created?
If it's just plugged in the SQL string by the client, the simply use "(5056,1351)" or "(5001)".
If it's supposed to be a parameter for a Prepared SQL it's much mor complicated, i'd suggest using some Dynamic SQL in a SP.
 
But in both cases be aware of SQL Injection.
 
Dieter


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>