2
Answers

C# SQL Select from multiple tables

Henrik Visby

Henrik Visby

10y
1.6k
1
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)