Recommended SET statements are provided in the code sample. To use TinyTDS with Azure, it is recommended that you execute several SET statements to change how the current session handles specific information. In this example you will see how to execute an INSERT statement safely, pass parameters which protect your application from SQL injection vulnerability, and retrieve the auto-generated Primary Key value. Results = client.execute("select * from SalesLT.Product") Client = TinyTds::Client.new username: password: 'yourpassword',
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |