Viewing 15 posts - 541 through 555 (of 562 total)
CREATE TABLE tablename
(
id int NULL,
name varchar(50) NULL,
val int NULL
)
insert into tablename VALUES (1 ,'abc' ,100)
insert into tablename VALUES (2 ,'ravi' ,null)
insert into tablename VALUES ('','venu' ,200)
insert into tablename VALUES (3...
August 27, 2012 at 2:45 am
CREATE TABLE tablename
(
id int NULL,
name varchar(50) NULL,
val int NULL
)
insert into tablename VALUES (1 ,'abc' ,100)
insert into tablename VALUES (2 ,'ravi' ,null)
insert into tablename VALUES ('','venu' ,200)
insert into tablename VALUES (3...
August 27, 2012 at 2:44 am
id int,
name varchar(50),
sal int
With the above datatypes you can not have a table:
,venu ,200
null,fanu ,3600
If the id is an int you can not have both a NULL value and a...
August 27, 2012 at 2:23 am
I am doing this out of the top of my head and haven't tried this code, but something like :
change:
set int1 = SUBSTRING (interests,1,PATINDEX ('%,%',interests));
To:
set int1 = SUBSTRING (interests+',empty,empty,empty,empty',1,PATINDEX ('%,%',interests+',empty,empty,empty,empty'));
I...
August 23, 2012 at 3:24 am
Suresh B. (8/20/2012)
Yes. It is still valid.It's caled uniquifier.
Thank you,
Using the term uniquifier, on line I found:
In books online I could not find the term uniquifier, neither could I...
August 21, 2012 at 1:48 am
GilaMonster (6/29/2012)
WHERE Column IN ('Value1') is completely equivalent to WHERE Column = 'Value1' and WHERE...
June 29, 2012 at 8:59 am
GilaMonster (6/29/2012)
ben.brugman (6/29/2012)
June 29, 2012 at 6:47 am
GilaMonster (6/29/2012)
You may want to take a read through these:http://www.sqlservercentral.com/articles/Indexing/68439/
Thanks for providing the links.
I do understand indexes, both clustered and heap.
I do not always understand behavior of the optimizer combined...
June 29, 2012 at 6:23 am
GilaMonster (6/28/2012)
June 29, 2012 at 1:30 am
Thanks for your anwsers.
At the moment I am trying to convince my organisation that Clustering would solve a lot of the problems we have at the moment and would improve...
June 24, 2012 at 6:18 pm
Thank you all for the replies.
Now I can convert most tables ON-LINE. Great.
Do you have suggestions for the tables containing LOBS.
Or is there is way to do this on-line by...
June 24, 2012 at 5:34 pm
GilaMonster (6/15/2012)
June 15, 2012 at 8:26 am
Sean Lange (6/15/2012)
You might want to do this during off hours especially if the table is large because it might take a bit of time to create the index.
Thanks for...
June 15, 2012 at 8:15 am
GilaMonster (6/4/2012)
Near the end. To be specific, it'll be a consistent state as of the time that the data-reading portion of the backup completed.
Thanks,
this wil help us with planning the...
June 4, 2012 at 9:39 am
Grant Fritchey (6/4/2012)
June 4, 2012 at 9:15 am
Viewing 15 posts - 541 through 555 (of 562 total)