Henrik Visby

Henrik Visby

  • NA
  • 2
  • 7.7k

C# SQL Select from multiple tables

Oct 24 2014 3:46 AM
Hey C# Corner,
 
 I have the following line:
minDat = new SqlCommand("SELECT * FROM Data WHERE (FileName like '%.html' or FileName like '%.htm') and ocrconvert = 0", cnn).ExecuteReader();

I want to SELECT * FROM Data and TestTable
 
So is is possible in that line to make it able to select everything from multiple tables?

Best regards

Answers (2)