SQL Innerjoins and data views

  • Thread starter Shawn H. Mesiatowsky
  • Start date
S

Shawn H. Mesiatowsky

Is there a way to use more then 1 table in a dataview? suppose you had 2
tables with an innerjoin in the sql statement, how do you retrieve this info
into a data table? or do you need to create 2 data tables and add a relation
to them? How about using Views in SQL server itself. Can I just create a
view in SQL Server (with the inner join in the view), then would this act as
a single table? Thanks
 
E

Elton Wang

Hi Shawn,

If you mean to do join query to multi-DataTables in a
DataSet, I'm suppose you can't do it. You need directly
join query multi-tables from database to get single result
set.

HTH

Elton Wang
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top