Click here to Skip to main content
15,893,486 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL table field Pin
Vimalsoft(Pty) Ltd30-Jul-08 21:36
professionalVimalsoft(Pty) Ltd30-Jul-08 21:36 
GeneralRe: SQL table field Pin
kirthikirthi30-Jul-08 21:44
kirthikirthi30-Jul-08 21:44 
GeneralRe: SQL table field Pin
Ashfield30-Jul-08 22:26
Ashfield30-Jul-08 22:26 
GeneralRe: SQL table field Pin
Vimalsoft(Pty) Ltd31-Jul-08 4:43
professionalVimalsoft(Pty) Ltd31-Jul-08 4:43 
GeneralRe: SQL table field Pin
Ashfield31-Jul-08 8:49
Ashfield31-Jul-08 8:49 
GeneralRe: SQL table field Pin
RyanEK31-Jul-08 18:23
RyanEK31-Jul-08 18:23 
GeneralRe: SQL table field Pin
Ashfield1-Aug-08 9:52
Ashfield1-Aug-08 9:52 
QuestionDynamic DB Connection based on user type Pin
vicky45730-Jul-08 19:28
vicky45730-Jul-08 19:28 
I need to create an application: upon user login, check the user type and decide the database that application will use for that user. Here is what I have:
1: Master database: stores user information and application configuration data, such as which db to use and connection string
2: Database I on server 1: contains all the application data for user group I.
3: Database II on server 2: contains all the application data for user group II.
4: Database I backup on server 2: as backup for user group 1 in case server 1 fails.
5: Database II backup on server 1: as backup for user group 2 in case server 2 fails.
6: Through log shipping between server 1 and server 2 to keep DB I and I and their backup up-to-date.
7: The web site is running on web farm. The session state management is using SQL server session state management, which is on the same server as Master DB.

My questions are:
1: How do I determine if server 1 or server 2 is down and it's time for application switching to use the DB backup on the other server.
2: What to do if the master DB server is down?
3: Is there a better approach than the above design to achieve the same goals: using different DB for different users, and achieving fast recovery by using the backup server?

I would really appreciate any suggestion and help!

Thanks in advance!
Questionin a stored procedure, can I directly write some lines to a txt file? Pin
alexyxj30-Jul-08 11:56
alexyxj30-Jul-08 11:56 
AnswerRe: in a stored procedure, can I directly write some lines to a txt file? Pin
goodideadave30-Jul-08 13:10
goodideadave30-Jul-08 13:10 
AnswerRe: in a stored procedure, can I directly write some lines to a txt file? Pin
SimulationofSai30-Jul-08 19:24
SimulationofSai30-Jul-08 19:24 
AnswerRe: in a stored procedure, can I directly write some lines to a txt file? Pin
Vimalsoft(Pty) Ltd30-Jul-08 20:59
professionalVimalsoft(Pty) Ltd30-Jul-08 20:59 
Questionhow to use bulk insert to import a data file with this format? Please help Pin
alexyxj30-Jul-08 9:09
alexyxj30-Jul-08 9:09 
AnswerRe: how to use bulk insert to import a data file with this format? Please help Pin
Wendelius30-Jul-08 9:48
mentorWendelius30-Jul-08 9:48 
GeneralRe: how to use bulk insert to import a data file with this format? Please help Pin
alexyxj30-Jul-08 11:23
alexyxj30-Jul-08 11:23 
GeneralRe: how to use bulk insert to import a data file with this format? Please help Pin
Wendelius30-Jul-08 11:55
mentorWendelius30-Jul-08 11:55 
Questionhow to ArrayList store whole records? Pin
zeeShan anSari30-Jul-08 6:32
zeeShan anSari30-Jul-08 6:32 
AnswerCross-post Pin
Wendelius30-Jul-08 6:48
mentorWendelius30-Jul-08 6:48 
Questionpossible database fields Pin
dream_liner_7e730-Jul-08 4:03
dream_liner_7e730-Jul-08 4:03 
AnswerRe: possible database fields Pin
SimulationofSai30-Jul-08 5:28
SimulationofSai30-Jul-08 5:28 
GeneralRe: possible database fields Pin
Paul Conrad30-Jul-08 7:13
professionalPaul Conrad30-Jul-08 7:13 
AnswerRe: possible database fields Pin
Vimalsoft(Pty) Ltd30-Jul-08 21:02
professionalVimalsoft(Pty) Ltd30-Jul-08 21:02 
Questionretrieve more than one row in one row Pin
obarahmeh29-Jul-08 23:16
obarahmeh29-Jul-08 23:16 
AnswerRe: retrieve more than one row in one row Pin
Declan Bright30-Jul-08 3:56
Declan Bright30-Jul-08 3:56 
AnswerRe: retrieve more than one row in one row Pin
leoinfo30-Jul-08 4:26
leoinfo30-Jul-08 4:26 

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.