Dynamic SQL lets you create a query string based off of user input. SQL Server allows you to create dynamic SQL statements. The statements use a SQL string varchar data type, then you execute the ...
@%1-3 are variables that's replaced by our system. So far so good. Here's the tricky part. A new requirement is to send a part of the JobNo (@%2), to another field as well, that we might call LineNo.
Public Function MyFunction(ByVal id As Int) As Object Dim sSQL As New MySqlCommand sSQL.Connection = db1 sSQL.Parameters.AddWithValue("@id", ID) sSQL.CommandText ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results