I use a select statement into a SQL string in the form of, how can I take this piece of string as SQL statements to perform? With what function?
For example,
Select the 'select * from t_table'
The select statement to query the results of a single string as a SQL statement execution
CodePudding user response:
In the function to execute a stringCodePudding user response:
You this is a dynamic statement?CodePudding user response:
Stored procedure, there can be variable, or directly to the execute (statement), and then you select the stored procedure