Click here to Skip to main content
15,919,931 members
Home / Discussions / Database
   

Database

 
GeneralRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
tonic_valan7-Aug-07 20:33
tonic_valan7-Aug-07 20:33 
GeneralRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
Marek Grzenkowicz7-Aug-07 23:12
Marek Grzenkowicz7-Aug-07 23:12 
GeneralRe: Reducing the Execution time of the Sql Server 2000 Stored procedure. Pin
tonic_valan8-Aug-07 23:34
tonic_valan8-Aug-07 23:34 
QuestionSQL 2005 Default Scripts Directory Pin
jareddavies5-Aug-07 14:09
jareddavies5-Aug-07 14:09 
QuestionRestore database using t-sq Pin
WDI4-Aug-07 9:57
WDI4-Aug-07 9:57 
AnswerRe: Restore database using t-sq Pin
Paul Conrad4-Aug-07 18:25
professionalPaul Conrad4-Aug-07 18:25 
GeneralRe: Restore database using t-sq Pin
Stathread5-Aug-07 10:24
Stathread5-Aug-07 10:24 
AnswerRe: Restore database using t-sq Pin
ScottM16-Aug-07 2:12
ScottM16-Aug-07 2:12 
The only way I can think to end all the sessions would be by stopping the SQL service and then restarting it, your users might open their session again by the time you have started restoring though in which case it will still fail.
You could just run the command "NET STOP MSSQLSERVER" and then "NET START MSSQLSERVER" within your application.
There probably is a better way though but like the others said, it's probably not a good idea.

There are 10 types of people in the world, those who understand binary and those who dont.

AnswerRe: Restore database using t-sq Pin
Mike Dimmick6-Aug-07 3:54
Mike Dimmick6-Aug-07 3:54 
QuestionHow to Code for Inserting Data into SQL using C# [modified] Pin
sacheesach3-Aug-07 22:10
sacheesach3-Aug-07 22:10 
AnswerRe: How to Code for Inserting Data into SQL using C# Pin
Colin Angus Mackay3-Aug-07 22:28
Colin Angus Mackay3-Aug-07 22:28 
GeneralRe: How to Code for Inserting Data into SQL using C# Pin
sacheesach3-Aug-07 22:48
sacheesach3-Aug-07 22:48 
GeneralRe: How to Code for Inserting Data into SQL using C# Pin
Colin Angus Mackay3-Aug-07 23:10
Colin Angus Mackay3-Aug-07 23:10 
GeneralRe: How to Code for Inserting Data into SQL using C# Pin
sacheesach4-Aug-07 3:46
sacheesach4-Aug-07 3:46 
Questionhow to compare rows of database without using query? Pin
Affan Toor3-Aug-07 18:34
Affan Toor3-Aug-07 18:34 
AnswerRe: how to compare rows of database without using query? Pin
N a v a n e e t h3-Aug-07 21:50
N a v a n e e t h3-Aug-07 21:50 
GeneralRe: how to compare rows of database without using query? Pin
Affan Toor5-Aug-07 21:44
Affan Toor5-Aug-07 21:44 
QuestionSybase Profiler like SQL Profiler Pin
Bad Programmer3-Aug-07 11:22
Bad Programmer3-Aug-07 11:22 
AnswerRe: Sybase Profiler like SQL Profiler Pin
Paul Conrad4-Aug-07 8:42
professionalPaul Conrad4-Aug-07 8:42 
Questionsql 2005 32bit & 64 bit? Pin
costavo3-Aug-07 10:03
costavo3-Aug-07 10:03 
AnswerRe: sql 2005 32bit & 64 bit? Pin
Mike Dimmick3-Aug-07 13:38
Mike Dimmick3-Aug-07 13:38 
Questionfile with dot sql extension Pin
ASPnoob3-Aug-07 5:45
ASPnoob3-Aug-07 5:45 
AnswerRe: file with dot sql extension Pin
Mike Dimmick3-Aug-07 6:49
Mike Dimmick3-Aug-07 6:49 
AnswerRe: file with dot sql extension Pin
originSH5-Aug-07 21:51
originSH5-Aug-07 21:51 
QuestionActual probs in procedure..., Pin
Member 38798813-Aug-07 4:04
Member 38798813-Aug-07 4:04 

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.