Click here to Skip to main content
15,907,497 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
Richard MacCutchan18-Nov-09 6:07
mveRichard MacCutchan18-Nov-09 6:07 
GeneralRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
fracalifa18-Nov-09 6:24
fracalifa18-Nov-09 6:24 
AnswerRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
Niladri_Biswas18-Nov-09 15:13
Niladri_Biswas18-Nov-09 15:13 
GeneralRe: SQL is creating a table instead of a file - whats wrong with my SQL-String Pin
fracalifa18-Nov-09 22:48
fracalifa18-Nov-09 22:48 
AnswerRe: SQL is creating a table instead of a file - whats wrong with my SQL-String [modified] Pin
Tripathi Swati19-Nov-09 20:59
Tripathi Swati19-Nov-09 20:59 
Questionusing SQLACCOUNT when distributing SQL Express Pin
Jassim Rahma18-Nov-09 2:04
Jassim Rahma18-Nov-09 2:04 
AnswerRe: using SQLACCOUNT when distributing SQL Express Pin
Mycroft Holmes18-Nov-09 13:23
professionalMycroft Holmes18-Nov-09 13:23 
QuestionUpdating live/running Stored Procedures / Functions Pin
debnarayan17-Nov-09 20:33
debnarayan17-Nov-09 20:33 
Hi,

My application requires certain reporting queries to be totally dynamically determined from application level. What I have done [rather, am doing] is build the query as indicated from UI and store it as a SP in the database.

The confusion is, say, someone is running the reporting SP, [which takes around 30 secs time to get executed and start returning data], and at the same time someone else trigerred an Alter on the SP.

I do not want any one to get an exception, not even a timeout. So what I have planned is to have a list of the dynamic SP's in DB table, and indicate by a flag, whether it is in use, or not, also whether it is further callable or not. So we can effectively give proper messages instead of exception, if any [I actually do not know, whether there will be an exception]

So, my questions are:
1. What happens when someone calls for an Alter script on a SP while it is running
2. What if, due to some problem, like a connection drop or something, the running query stops executing. As the flags are shared, I cannot run these on a transaction. Essentially, I do not know what happens when the connection over which the query is invoked gets dropped midway in execution. Does the query stop executing, raising an error, or does it complete the execution, and stop silently?

Thanks in advance
AnswerRe: Updating live/running Stored Procedures / Functions Pin
Ashfield17-Nov-09 21:02
Ashfield17-Nov-09 21:02 
AnswerRe: Updating live/running Stored Procedures / Functions Pin
Bassam Saoud18-Nov-09 5:08
Bassam Saoud18-Nov-09 5:08 
AnswerRe: Updating live/running Stored Procedures / Functions Pin
Mycroft Holmes18-Nov-09 13:19
professionalMycroft Holmes18-Nov-09 13:19 
QuestionConvert selected table into Tally . Pin
lrsalunkhe17-Nov-09 17:59
lrsalunkhe17-Nov-09 17:59 
AnswerRe: Convert selected table into Tally . Pin
Mycroft Holmes17-Nov-09 20:21
professionalMycroft Holmes17-Nov-09 20:21 
GeneralRe: Convert selected table into Tally . Pin
Shameel18-Nov-09 1:55
professionalShameel18-Nov-09 1:55 
AnswerRe: Convert selected table into Tally . Pin
Niladri_Biswas17-Nov-09 23:11
Niladri_Biswas17-Nov-09 23:11 
QuestionHelp!!! Pin
James WG Murphy17-Nov-09 15:53
James WG Murphy17-Nov-09 15:53 
AnswerRe: Help!!! Pin
_Damian S_17-Nov-09 17:00
professional_Damian S_17-Nov-09 17:00 
AnswerFailover logic Pin
David Mujica18-Nov-09 3:29
David Mujica18-Nov-09 3:29 
QuestionHelp with a trigger or something like that... Pin
Aptiva Dave17-Nov-09 7:39
Aptiva Dave17-Nov-09 7:39 
AnswerSQL Jobs Pin
David Mujica17-Nov-09 7:51
David Mujica17-Nov-09 7:51 
GeneralRe: SQL Jobs Pin
Aptiva Dave17-Nov-09 8:21
Aptiva Dave17-Nov-09 8:21 
GeneralRe: SQL Jobs Pin
_Damian S_17-Nov-09 14:06
professional_Damian S_17-Nov-09 14:06 
AnswerRe: Help with a trigger or something like that... Pin
Tripathi Swati17-Nov-09 18:51
Tripathi Swati17-Nov-09 18:51 
GeneralRe: Help with a trigger or something like that... Pin
Ashfield17-Nov-09 21:05
Ashfield17-Nov-09 21:05 
GeneralRe: Help with a trigger or something like that... Pin
Tripathi Swati18-Nov-09 2:08
Tripathi Swati18-Nov-09 2:08 

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.