troubleshooting Question Create SQL Joins from a list

Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland asked on
Visual Basic.NETMicrosoft SQL Server
15 Comments2 Solutions224 ViewsLast Modified:

I have an application where I have to convert a list of information into the FROM part of
a SQL statement. The list looks like the data below. It can be any number of lines long.
 How would I convert this?

[Table1].[Column1] Left Join [Table2].[Column6]
[Table6].[Column3] Right Join [Table2].[Column6]
[Table5].[Column1] Left Join [Table4].[Column2]
Join our community to see this answer!
Unlock 2 Answers and 15 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros