ConnectionString vs. Parameters

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 28
Joined: Wed 18 Jan 2012 20:15

ConnectionString vs. Parameters

Post by GNiessen » Wed 11 Jul 2012 12:58

I have a application I support (but did not write) that build the connection string, rather then setting the connection objects parameters. Which is the better way?


Re: ConnectionString vs. Parameters

Post by AndreyZ » Thu 12 Jul 2012 10:02


You can use any of these ways that is more appropriate for you, they are the same. Using TMSConnection properties, you still build a connection string, but not by yourself. SDAC does that for you automatically.

Post Reply