Database component dynamic SQL

Status
Not open for further replies.

SWSDEV

Forum User
Joined
Feb 23, 2008
Messages
256
Reaction score
0
It would be great if the database component could take a variable in the SQL field. Then SQL could be dynamically built.
 
Well, you can use a parameter for that. Parameters values are put into the SQL statement, so you could have your SQL statement like this:
{0}

And then enter a single parameter pointing to a variable containing the string that you need.

Regards,
 
Oh right, that makes sense. Didn't think of that.
 
Status
Not open for further replies.

Forum statistics

Threads
112,320
Messages
591,863
Members
165,463
Latest member
ICTSupport@bedfordgirlssc