Viewing 15 posts - 1 through 15 (of 17 total)
Stories table is having 1,00,000 records which is used by 50+ sites and these records are increasing everyday.
What if I add a new column "IsArchived" in Stories table and run...
July 18, 2015 at 1:08 pm
No, I will scan for common conditions just once:
1. In main procedure I will store below query result in temp table/variable,
You will see that I am just selecting StoryID...
July 18, 2015 at 10:27 am
I am not trying to reduce the number of procedures, but trying to avoid repeatative scanning of Story table for common conditions. As I said there are 4 common conditions...
July 18, 2015 at 8:59 am
Hi,
In Windows Task Manager sqlservr.exe process showing 1.6 GB memory usage. Not sure this is what I need to check ?
July 15, 2015 at 11:07 am
Hi,
We are using asp.net and all our database related codes are enclosed inside using() which takes care of closing/disposing the connections after operation is done:
using (SqlConnection connection = new SqlConnection(connectionString))
{
...
July 15, 2015 at 7:47 am
Hi,
I used exec dbo.sp_WhoIsActive @get_plans = 1, @get_additional_info = 1 and most of the time it is showing below procedure as Blocking Procedure:
SELECT top 20 StoryID, SectionID,...
June 30, 2015 at 9:28 am
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[Category](
[CategoryID] [int] IDENTITY(1,1) NOT NULL,
[CategoryName] [varchar](50) NULL,
CONSTRAINT [PK_Category] PRIMARY KEY CLUSTERED
(
[CategoryID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,...
August 23, 2013 at 9:16 am
this is table structure:
Category: CategoryID, CategoryName
Item: ItemID, CategoryID, ItemName
Now, I want to display item names in drop-down along with category name:
CategoryName1
ItemName1
ItemName2
ItemName3
CategoryName2
ItemName4
ItemName5
CategoryName3
.
.
.
and so on
August 23, 2013 at 8:54 am
Viewing 15 posts - 1 through 15 (of 17 total)