Hi, all.
Is it possible to run a query in the data source rather than connect it to a table I have a SQL Server database that I would like to run a query on rather than select from a specific table.
Thank you.
Hi, all.
Is it possible to run a query in the data source rather than connect it to a table I have a SQL Server database that I would like to run a query on rather than select from a specific table.
Thank you.
Can I run a query as a data source to a SQL Server database?
JockeP
Yulia, I beleive you are asking about Data Driven Unit Tests. It is not possible to specify a query but you can create a view or stored procedure on your SQL server and specify the name of the view as data table name for the test.
Thank you,
Michael Koltachev
VSTS
KC Oaks
After selecting the connection string, the Choose Tables dialog appears. The views appear in this dialog. Are you not seeing them
One other option is to perform custom databinding. I would use the built in functionality if possible, but if it does not meet your needs, you can manage the databinding yourself. Check out this blog post for more information on custom databinding: http://blogs.msdn.com/slumley/archive/2006/04/07/570772.aspx
Sean
Charles Berry
ccc3