Click here to Skip to main content
15,899,754 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Only Save Contentpage Pin
Not Active4-Jul-11 8:32
mentorNot Active4-Jul-11 8:32 
GeneralRe: Only Save Contentpage Pin
Shameel4-Jul-11 8:47
professionalShameel4-Jul-11 8:47 
GeneralRe: Only Save Contentpage Pin
Not Active4-Jul-11 2:19
mentorNot Active4-Jul-11 2:19 
GeneralRe: Only Save Contentpage Pin
Shameel4-Jul-11 7:44
professionalShameel4-Jul-11 7:44 
QuestionLinq to SQL dbml file Pin
indian1431-Jul-11 13:19
indian1431-Jul-11 13:19 
AnswerRe: Linq to SQL dbml file Pin
Philippe Mori1-Jul-11 13:56
Philippe Mori1-Jul-11 13:56 
GeneralRe: Linq to SQL dbml file Pin
indian1431-Jul-11 14:54
indian1431-Jul-11 14:54 
GeneralRe: Linq to SQL dbml file Pin
Philippe Mori1-Jul-11 16:01
Philippe Mori1-Jul-11 16:01 
Is there a reason to drop the table instead of simply deleting all rows ?

By the way if you have 2 independant jobs, there will always be a risk that the table get dropped between the time you make the check and the time you try to access the data.

Anyway, I would say that in this case (if you do drop the tables) the best solution is not to do the test the existance of the table but catch and handle the exception (you might check the error code or if the error message contains the name of the table and only handle the error if it is expected).

If the view run independly of the jobs, handling exception is a must as otherwise you will sometime have a bad timing where the table would be dropped just after you check its existance.

I think that you should avoid dropping and recreating the table as you will be able to avoid to deal with that problematic situation.
Philippe Mori

GeneralRe: Linq to SQL dbml file Pin
indian1431-Jul-11 19:12
indian1431-Jul-11 19:12 
GeneralRe: Linq to SQL dbml file Pin
Philippe Mori2-Jul-11 2:58
Philippe Mori2-Jul-11 2:58 
AnswerRe: Linq to SQL dbml file Pin
Not Active1-Jul-11 15:12
mentorNot Active1-Jul-11 15:12 
QuestionLinq to SQL is taking more memory Pin
indian14330-Jun-11 14:06
indian14330-Jun-11 14:06 
AnswerRe: Linq to SQL is taking more memory [modified] Pin
Not Active30-Jun-11 15:07
mentorNot Active30-Jun-11 15:07 
GeneralRe: Linq to SQL is taking more memory Pin
indian14330-Jun-11 17:58
indian14330-Jun-11 17:58 
GeneralRe: Linq to SQL is taking more memory Pin
Not Active30-Jun-11 18:18
mentorNot Active30-Jun-11 18:18 
AnswerRe: Linq to SQL is taking more memory Pin
dasblinkenlight1-Jul-11 3:44
dasblinkenlight1-Jul-11 3:44 
GeneralRe: Linq to SQL is taking more memory Pin
indian1431-Jul-11 8:43
indian1431-Jul-11 8:43 
GeneralRe: Linq to SQL is taking more memory Pin
dasblinkenlight1-Jul-11 9:02
dasblinkenlight1-Jul-11 9:02 
AnswerRe: Linq to SQL is taking more memory Pin
Philippe Mori1-Jul-11 14:04
Philippe Mori1-Jul-11 14:04 
AnswerRe: Linq to SQL is taking more memory Pin
Shameel3-Jul-11 20:35
professionalShameel3-Jul-11 20:35 
QuestionLinqToExcel in win 64 bit Pin
Dhyanga30-Jun-11 8:10
Dhyanga30-Jun-11 8:10 
AnswerRe: LinqToExcel in win 64 bit Pin
Not Active30-Jun-11 8:13
mentorNot Active30-Jun-11 8:13 
GeneralRe: LinqToExcel in win 64 bit Pin
Dhyanga30-Jun-11 8:26
Dhyanga30-Jun-11 8:26 
GeneralRe: LinqToExcel in win 64 bit Pin
Parwej Ahamad30-Jun-11 9:11
professionalParwej Ahamad30-Jun-11 9:11 
GeneralRe: LinqToExcel in win 64 bit Pin
Not Active30-Jun-11 9:39
mentorNot Active30-Jun-11 9:39 

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.