waht is ring buffer ?
Hi Experts,What is RIng buffer ? How we can understand/ when will we use this.Thansk in Advance.
View ArticleBuffer cache hit Ration is 120 , It is very urgent , help me
Hi Experts,Buffer Cache Hit Ratio is 120 could you suggest me? What we do next step?Thanks in Advance
View ArticleSelf-referencing tables
Hello -I am trying to understand the purpose of self-referencing tables in a large database.Isn't that against the rules of Boyce-Codd? Why not use a view to self-reference instead?On contract jobs, I...
View Articleplease help
TITLE: Microsoft SQL Server Management Studio ------------------------------Create failed for Database 'db'. (Microsoft.SqlServer.Smo)------------------------------ ADDITIONAL INFORMATION:An exception...
View ArticleProblem about a constraint
Hello,How can I put a constraint that is supposed to have 2 fields lets say email that has email address and a Boolean field. If the Boolean field is true the email address should be unique. If it is...
View ArticlePartitioning table - Split existing filegroup with minimal data movement
We missed creating partitions for months after May. What is the best way to split existing partition so that the data for June, July, August, Sept onwards goes into new partitionsCurrent partition...
View ArticleSET date to month and year in SQL Server
Hi everyone,Can someone please tell me if is it possible to set the date type to just month and year in SQL Server.I want to store in a column table date type as month and year, just those two!Thank...
View ArticleHow to do an alter on this table
I have a table look like this:CREATE TABLE [dbo].[Xref]([ID] [int] IDENTITY(1,1) NOT NULL,[Xref_Type] [varchar](50) NOT NULL,[Checklist_ID] [int] NOT NULL,[Xref_ID] [int] NOT NULL,[A_ID] AS (case when...
View ArticleNoobie Index Question
Hi There,I've created a simple database (about 30 tables and a couple of views) and every table has an identity integer column which is used as a primary key.I have no created any indexes for this...
View ArticleHow should i create a query for the follwing ?
Hi frnz,i have senerio where i could display like, I have number of machines which are working in an organization let consider 10000where i want to get the query like ,how many machines are running...
View Articleone of my table column length is very log. It is responsible for software...
Hello Everyone,My organisation one developer asking me column length very log any issue to create if column length is very long andgetting software slow if column length is very long...Thanks in advance..
View ArticleProper use of a Lookup table and adaptations for NET
Hello,I need to create a few lookup tables and I often see the following: create table Languages ( Id int identity not null primary key (Id), Code nvarchar (4) not null, Description nvarchar (120) not...
View ArticleSSRS - Date Parameter - Is it possible to have a multi select date range?
Hi Experts, I have a problem creating a parameter for a date range which now needs to be a changed to a multi select parameter. I am using Report Builder 2008 R2. I am using the Filter tab in the...
View ArticleLocalize lookup tables
Hello,On an project where I use localization I have the following tables: create table dbo.Posts ( Id int identity not null primary key clustered (Id), Created datetime not null, PostTypeId int not...
View ArticleStoring Quantities
hi all , i think that here in egypt , most companies when working with an application which has a "store" part , and the items stored have more than one shape of qty , like max_qty , mid_qty and...
View ArticleC# SQL dyanmic migration to SQL procedure
Hello,I have big dynamic queries in my C# code. The LoC (Line of codes) which is creating the dynamic SQL is around 6000 (4000 + 2000 in two separate C# files).One file generates the select clause (all...
View Articlesql query difference
Hello AllI want know that what is the difference in these queries SELECT * from MyTable WHERE (MyColumn IS NULL) OR (MyColumn is not null) and (MyColumn & 31 = MyColumn)SELECT * from MyTable WHERE...
View Articleimport images in Excel file to SQL database
Hi,I would like to import an Excel file contain images to SQL server. I did an import but it did not include images in the Excel file. Are there ways to do it?Thanks,-Nhan
View Articleexecute statement inside a common table expression
hi, when im trying to use a execute statement inside a common table expression im getting error. i have given the code below..please help me resolve the issue.thanks!! set @SQLStatement = 'select *...
View ArticleC# SQL dynamic migration to SQL stored procedure
Hello,I have big dynamic queries in my C# code. The LoC (Line of codes) which is creating the dynamic SQL is around 6000 (4000 + 2000 in two separate C# files).One file generates the select clause (all...
View Article