I'm talking about Delphi + ADO + MSSQL. Okay, I know that queries with parameters are quite safe against SQL-injections. On the other hand, dynamic queries are quite not safe. But what about classic FieldByName methods? Can I safely assign to FieldByName an ABSOLUTELY any string value, without risking to have an injection?
相关问题
- sql execution latency when assign to a variable
- Is there a Delphi 5 component that can handle .png
- What is the best way to cache a table from a (SQL)
- Is there a way to install Delphi 2010 on Windows 2
- php PDO::FETCH_ASSOC doesnt detect select after ba
相关文章
- Entity Framework 4.3.1 failing to create (/open) a
- Code for inserting data into SQL Server database u
- Delete Every Alternate Row in SQL
- Linux based PHP install connecting to MsSQL Server
- SQL Azure Reset autoincrement
- How do we alias a Sql Server instance name used in
- Is recursion good in SQL Server?
- How can I convert a OLE Automation Date value to a
It is safe. Ado is using parameters for Update/Insert/Delete.
You can trace this with SQLProfile, e.g.