954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

I need help to restore SQL Server Data using VB.NET

i'm using VB.NET AND SQL SERVER AND HAD PROBLEM TO RESTORE PREVIOUSLY BACKUP TEXT FILE.

dwel
Newbie Poster
10 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

What is the problem exactly?

If the text file contains queries each on a line of their own then you could loop through the file line by line and execute the query that is on each line.

etftw
Light Poster
45 posts since May 2010
Reputation Points: 10
Solved Threads: 6
 

exactly, i have to restore sql server data, which was backup previously in text file using VB, VB.NET programming techniques.

dwel
Newbie Poster
10 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

Could you provide an extract from the text file to show how the SQL is stored?

Is every query on a new line?

etftw
Light Poster
45 posts since May 2010
Reputation Points: 10
Solved Threads: 6
 

i have backup database file in text file format, which includes all tables, views etc which are included on one database. I have to restore those text file data into running same database on SQL Server using VB.NET.

dwel
Newbie Poster
10 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: