Click here to Skip to main content
15,921,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I need name of table from text file which contain multiple select staments

select Studentid,Stunm,StuClass from Student;
Selct BookNm,booknbr,Bookcd from Book


I want name of table ie
Book and Student in two string array

How can I do that
Posted

1 solution

Read the data from text file and store it in string, Split the string with \n and sore it in string[] array,

Get the select Query in Array String, in for loop read query one by one, Split the string with Word From store the result in arrray. In that array table name will be in 1 st position. If any one need code means i will post.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900