I am working on an application to get data from a MS-SQL server (2005). In the command text, I can pass a sql query like this:
string query = \"SELECT T1.f1,
There is no performance difference (unless the text of the sql query is truly gigantic and incurs a cost on the wire).