Click here to Skip to main content
15,886,199 members
Home / Discussions / Database
   

Database

 
GeneralRe: Simple Master/Details relationship?? Pin
Muammar©18-Apr-11 0:29
Muammar©18-Apr-11 0:29 
QuestionStoring Binary Tree Data Pin
nitin316-Apr-11 19:41
nitin316-Apr-11 19:41 
AnswerRe: Storing Binary Tree Data Pin
PIEBALDconsult16-Apr-11 19:55
mvePIEBALDconsult16-Apr-11 19:55 
GeneralRe: Storing Binary Tree Data Pin
nitin316-Apr-11 20:10
nitin316-Apr-11 20:10 
AnswerRe: Storing Binary Tree Data Pin
Prasanta_Prince17-Apr-11 6:19
Prasanta_Prince17-Apr-11 6:19 
QuestionSQL Server 2008 / C# - Update layout of database Pin
archibald7116-Apr-11 6:35
archibald7116-Apr-11 6:35 
AnswerRe: SQL Server 2008 / C# - Update layout of database Pin
PIEBALDconsult16-Apr-11 7:05
mvePIEBALDconsult16-Apr-11 7:05 
AnswerRe: SQL Server 2008 / C# - Update layout of database Pin
jschell16-Apr-11 11:38
jschell16-Apr-11 11:38 
Will the applications be running when you do the update?

When you say "several locations" you mean that there are the database itself exists in several locations?

Probably the absolute easiest way from the users stand point would be the following
1. Create a C# program that does nothing by applies the changes. Do NOT put this in the main app.
2. Create an installer which runs that app. It might also update the real app, see below.

Also as a suggestion the following might be useful.
1. Create a table which the sole purpose is to keep track of the database schema version. Thus for this release you would insert into that table something like 'MyApp', '2.0', <current date="">
2. Have your application verify the version on start up and refuse to run (error message) if the version does not match.

If you do this your C# database update program can verify the database version before applying the update. Note as well that you do not need to embed the update SQL in the database update application. It can read it from an included SQL file.
GeneralRe: SQL Server 2008 / C# - Update layout of database Pin
archibald7116-Apr-11 21:45
archibald7116-Apr-11 21:45 
QuestionPivot 3 column stored procedure query record set in SQL Server Pin
T210215-Apr-11 10:45
T210215-Apr-11 10:45 
AnswerRe: Pivot 3 column stored procedure query record set in SQL Server Pin
S Douglas28-Apr-11 10:41
professionalS Douglas28-Apr-11 10:41 
GeneralRe: Pivot 3 column stored procedure query record set in SQL Server Pin
T210228-Apr-11 10:53
T210228-Apr-11 10:53 
GeneralRe: Pivot 3 column stored procedure query record set in SQL Server Pin
S Douglas28-Apr-11 10:58
professionalS Douglas28-Apr-11 10:58 
RantWindows 7 SP 1 Breaks ADODB Compatibility with other OS's Pin
kmoorevs15-Apr-11 2:52
kmoorevs15-Apr-11 2:52 
Questioncall function from stored procedure Pin
Prasanta_Prince15-Apr-11 0:43
Prasanta_Prince15-Apr-11 0:43 
AnswerRe: call function from stored procedure [modified] Pin
Prasanta_Prince15-Apr-11 0:50
Prasanta_Prince15-Apr-11 0:50 
GeneralRe: call function from stored procedure Pin
thatraja15-Apr-11 4:16
professionalthatraja15-Apr-11 4:16 
GeneralRe: call function from stored procedure Pin
Prasanta_Prince15-Apr-11 16:13
Prasanta_Prince15-Apr-11 16:13 
AnswerRe: call function from stored procedure Pin
SilimSayo4-May-11 10:14
SilimSayo4-May-11 10:14 
QuestionSchema Bound View Pin
Ravi Sant14-Apr-11 22:08
Ravi Sant14-Apr-11 22:08 
GeneralKannada font is not displaying in Microsoftreportviewer in ubantu OS Pin
vinu.111114-Apr-11 18:28
vinu.111114-Apr-11 18:28 
GeneralRe: Kannada font is not displaying in Microsoftreportviewer in ubantu OS Pin
Bernhard Hiller15-Apr-11 0:12
Bernhard Hiller15-Apr-11 0:12 
Questionbeginner question Pin
ace30014-Apr-11 7:14
ace30014-Apr-11 7:14 
AnswerRe: beginner question Pin
David Mujica14-Apr-11 7:36
David Mujica14-Apr-11 7:36 
AnswerRe: beginner question Pin
Wendelius14-Apr-11 8:49
mentorWendelius14-Apr-11 8:49 

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.