Viewing 14 posts - 16 through 29 (of 29 total)
I could only think you need to add error handling in your code
Example: you can think of following code to handle the duplicate key issue
BEGIN TRY
CREATE UNIQUE CLUSTERED INDEX ix_tblname...
June 6, 2013 at 3:22 am
You have to include MAXERRORS option in your BULK INSERT statement.
The default MAXERRORS value is 10.
Since you have only one error, it was not caught by the TRY...
November 14, 2012 at 4:33 am
Yes, I know that column included in the select query also consider by Query Optimizer.
however, if you see the second query's excution plan it uses the non clustered index...
October 18, 2011 at 5:53 am
Yes, the answer is "Ann". But when you say most of the time we would get “Ann” since the clustered index is created on “first name”.
Why can’t we say...
December 22, 2010 at 4:08 am
Thank you, By the way can you tell me which edition (x86, 64-bit and 64-bitIA ) I should buy ?
my system configuration is
x64 Based PC
Intel Core i5 CPU M...
December 14, 2010 at 10:53 am
So, You mean there is only one developer version that can be installed irrespective of 34 or 64 bit system.
December 14, 2010 at 8:40 am
Try this !!
SELECT CASE WHEN DAY(DATEADD(D,1,GETDATE()))=1 THEN 'MONTH END' ELSE 'NOT MONTH END' END AS PERIOD
Hope this helps.
December 13, 2010 at 8:35 am
good basic question.
Declare @strSql varchar(2000)
Set @strSql = ''
Set @strSql = @strSql + 'Create table #tmp (id int)'
Set @strSql = @strSql + 'Insert into #tmp(id) values (1) Select * from...
December 12, 2010 at 11:11 pm
Grant Fritchey
usually we use maxdop option to optimize the performance.
what will best solution without changing the maxdop option if we get this deadlock error.
thanks !!
April 5, 2009 at 11:32 am
I would say don't disclose employee Pay information whilst employees must know the financial shape of the company
my suggestion will be sum all employees annual pay and publish
January 18, 2009 at 10:53 am
Max
Returns the maximum value in the expression.
October 1, 2008 at 12:37 pm
Hi,
I don't think you can disable the idnex.
instead you can drop and re create it.
If your table contains huge no of records with clustered index created
then re creating index...
September 30, 2008 at 11:56 am
Hi
You mean the Storage Engine pulls the data and send it to Query Processor
then Query Processor will operate on the data to form the result (i.e) Group by...
September 30, 2008 at 11:15 am
create table #tmp(iden int identity(1,2) , id int, value varchar(15))
create table #tmp1(iden int identity(2,2) , id int, value varchar(15))
insert into #tmp values( 1 , 'a')
insert into #tmp values( 2 ,...
September 29, 2008 at 12:55 pm
Viewing 14 posts - 16 through 29 (of 29 total)