Click here to Skip to main content
15,896,278 members
Home / Discussions / Database
   

Database

 
QuestionGroup By All Columns except the image field Pin
Vimalsoft(Pty) Ltd21-May-11 9:00
professionalVimalsoft(Pty) Ltd21-May-11 9:00 
AnswerRe: Group By All Columns except the image field Pin
Vimalsoft(Pty) Ltd21-May-11 9:44
professionalVimalsoft(Pty) Ltd21-May-11 9:44 
GeneralRe: Group By All Columns except the image field Pin
Shameel25-May-11 8:20
professionalShameel25-May-11 8:20 
QuestionDataset folder Pin
paper6721-May-11 5:59
paper6721-May-11 5:59 
AnswerRe: Dataset folder Pin
Eddy Vluggen23-May-11 0:25
professionalEddy Vluggen23-May-11 0:25 
QuestionOpenRowSet - Sql server Pin
Hum Dum20-May-11 19:58
Hum Dum20-May-11 19:58 
AnswerRe: OpenRowSet - Sql server Pin
Shameel25-May-11 8:14
professionalShameel25-May-11 8:14 
QuestionSQL Mystery Pin
Super Lloyd20-May-11 4:46
Super Lloyd20-May-11 4:46 
For info: I'm using BlogEngine 1.6

I dunno what's happening with my blog, but removing any comment is so damn slow... like half an hour for the page to refresh after deleting 10 comment!!!

Desperate, I open the Sql Server Management studio and connected to my blog database and ran the following SQL:
DELETE FROM [codeblog].[dbo].[be_PostComment]
      WHERE [IsApproved] = 0


Now If I open another query and ran
SELECT *
  FROM [codeblog].[dbo].[be_PostComment]
ORDER BY IsApproved


I code plenty of result with IsApproved = 0
Worst the number of result return by such statement change at an alarming rate!
Right after my delete statement I got, say, 50 comment. A few second later (if re-run it) I get 150, and then 350, etc...


Argh.. what's going here!?!?! what COULD BE going on!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.

AnswerRe: SQL Mystery Pin
Chris Meech20-May-11 7:48
Chris Meech20-May-11 7:48 
QuestionSQL Stored Procedure Question??? Pin
Toniyo Jackson19-May-11 21:47
Toniyo Jackson19-May-11 21:47 
AnswerRe: SQL Stored Procedure Question??? PinPopular
dasblinkenlight20-May-11 0:59
dasblinkenlight20-May-11 0:59 
AnswerRe: SQL Stored Procedure Question??? Pin
David Skelly20-May-11 1:50
David Skelly20-May-11 1:50 
QuestionOracle partitioned indexes... Pin
Paladin200019-May-11 2:51
Paladin200019-May-11 2:51 
AnswerRe: Oracle partitioned indexes... Pin
Paladin200019-May-11 4:11
Paladin200019-May-11 4:11 
Questionimage databasee Pin
mrjaya18-May-11 19:17
mrjaya18-May-11 19:17 
AnswerRe: image databasee Pin
Mycroft Holmes18-May-11 19:35
professionalMycroft Holmes18-May-11 19:35 
Questionstring concadination in sql query Pin
yesu prakash17-May-11 20:39
yesu prakash17-May-11 20:39 
AnswerRe: string concadination in sql query [modified] Pin
Blue_Boy17-May-11 21:02
Blue_Boy17-May-11 21:02 
AnswerRe: string concadination in sql query Pin
Pete O'Hanlon17-May-11 21:03
mvePete O'Hanlon17-May-11 21:03 
AnswerRe: string concadination in sql query Pin
Ra-one17-May-11 21:04
Ra-one17-May-11 21:04 
AnswerRe: string concadination in sql query Pin
Shameel18-May-11 0:43
professionalShameel18-May-11 0:43 
QuestionSQL Server. Insert into table whiles querying Pin
Eli Nurman16-May-11 19:05
Eli Nurman16-May-11 19:05 
AnswerRe: SQL Server. Insert into table whiles querying Pin
Gerben Jongerius16-May-11 20:05
Gerben Jongerius16-May-11 20:05 
GeneralRe: SQL Server. Insert into table whiles querying Pin
Eli Nurman17-May-11 0:21
Eli Nurman17-May-11 0:21 
GeneralRe: SQL Server. Insert into table whiles querying Pin
Gerben Jongerius17-May-11 3:22
Gerben Jongerius17-May-11 3:22 

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.