Click here to Skip to main content
16,017,297 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Compare the structure for 2 sql server databases Pin
Sascha Lefèvre10-Apr-15 3:11
professionalSascha Lefèvre10-Apr-15 3:11 
GeneralRe: Compare the structure for 2 sql server databases Pin
Eddy Vluggen10-Apr-15 3:17
professionalEddy Vluggen10-Apr-15 3:17 
GeneralRe: Compare the structure for 2 sql server databases Pin
Sascha Lefèvre10-Apr-15 3:20
professionalSascha Lefèvre10-Apr-15 3:20 
GeneralRe: Compare the structure for 2 sql server databases Pin
Wendelius13-Apr-15 17:49
mentorWendelius13-Apr-15 17:49 
AnswerRe: Compare the structure for 2 sql server databases Pin
Sascha Lefèvre10-Apr-15 1:42
professionalSascha Lefèvre10-Apr-15 1:42 
GeneralRe: Compare the structure for 2 sql server databases Pin
dilkonika10-Apr-15 6:19
dilkonika10-Apr-15 6:19 
GeneralRe: Compare the structure for 2 sql server databases Pin
Richard MacCutchan10-Apr-15 6:55
mveRichard MacCutchan10-Apr-15 6:55 
GeneralRe: Compare the structure for 2 sql server databases Pin
Eddy Vluggen10-Apr-15 8:36
professionalEddy Vluggen10-Apr-15 8:36 
dilkonika wrote:
I need only some steps , with words , not with code.
Then I must have misread. Looked to me like a post that contained the steps got the answer "how to do this with code in vb.net."

Get some sleep and try again tomorrow. If any of the steps are too vague, simply ask for more explanation.

FWIW, I'd start by Googleing for the SQL-command to use to restore a backup. After that, probably executing that as a NonQuery. Then, Googeling for "sys.objects", or how to get a list of all objects in Sql Server. If you Google hard enough you'll even find a copy of a poster that contains all the relations between those system tables Smile | :)

Then I'd be making a list of all the objects in DB A, and probably store it in a new database (DB C). Then I'd be making a list of all the objects in DB B, and store that result as a table too. Then all that is left is comparing those two lists, and displaying the difference. I'd probably do that by trying to JOIN those lists, displaying the result in a datagridview.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: Compare the structure for 2 sql server databases Pin
dilkonika10-Apr-15 9:36
dilkonika10-Apr-15 9:36 
GeneralRe: Compare the structure for 2 sql server databases Pin
Eddy Vluggen10-Apr-15 10:10
professionalEddy Vluggen10-Apr-15 10:10 
GeneralRe: Compare the structure for 2 sql server databases Pin
dilkonika10-Apr-15 10:16
dilkonika10-Apr-15 10:16 
GeneralRe: Compare the structure for 2 sql server databases Pin
Eddy Vluggen10-Apr-15 10:27
professionalEddy Vluggen10-Apr-15 10:27 
GeneralRe: Compare the structure for 2 sql server databases Pin
dilkonika10-Apr-15 12:35
dilkonika10-Apr-15 12:35 
GeneralRe: Compare the structure for 2 sql server databases Pin
Eddy Vluggen11-Apr-15 8:49
professionalEddy Vluggen11-Apr-15 8:49 
Questionvb.net 2010 pass value to function Pin
dcof9-Apr-15 13:04
dcof9-Apr-15 13:04 
AnswerRe: vb.net 2010 pass value to function Pin
Richard MacCutchan9-Apr-15 21:53
mveRichard MacCutchan9-Apr-15 21:53 
AnswerRe: vb.net 2010 pass value to function Pin
Richard Deeming10-Apr-15 3:39
mveRichard Deeming10-Apr-15 3:39 
GeneralRe: vb.net 2010 pass value to function Pin
dcof10-Apr-15 4:12
dcof10-Apr-15 4:12 
QuestionVB6 TextBox truncates text in IE 11 Compatibility Mode Pin
Bill Cumming9-Apr-15 5:29
Bill Cumming9-Apr-15 5:29 
QuestionRe: VB6 TextBox truncates text in IE 11 Compatibility Mode Pin
Richard Deeming9-Apr-15 7:08
mveRichard Deeming9-Apr-15 7:08 
AnswerRe: VB6 TextBox truncates text in IE 11 Compatibility Mode Pin
Bill Cumming9-Apr-15 7:15
Bill Cumming9-Apr-15 7:15 
QuestionWM that has to do with pressing the enter key and TAB key. Pin
dilkonika8-Apr-15 13:29
dilkonika8-Apr-15 13:29 
AnswerRe: WM that has to do with pressing the enter key and TAB key. Pin
CHill608-Apr-15 13:44
mveCHill608-Apr-15 13:44 
GeneralRe: WM that has to do with pressing the enter key and TAB key. Pin
dilkonika8-Apr-15 13:48
dilkonika8-Apr-15 13:48 
GeneralRe: WM that has to do with pressing the enter key and TAB key. Pin
CHill608-Apr-15 13:58
mveCHill608-Apr-15 13:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.