Viewing 15 posts - 5,386 through 5,400 (of 15,381 total)
sql-lover (3/27/2014)
Violation of PRIMARY KEY constraint 'PK_MyTable'. Cannot insert duplicate key in object 'dbo.MyTable'. The duplicate key value is (1842649).
The statement has...
March 27, 2014 at 9:24 am
jpk 91966 (3/27/2014)
Example:
I have table A with 1 million rows. I want to know how much space...
March 27, 2014 at 8:55 am
Koen Verbeeck (3/27/2014)
Sean Lange (3/27/2014)You do however, want to create a clustered index on some column in your table.
Is that absolutely necessary? It depends on the type of table and...
March 27, 2014 at 8:11 am
Koen Verbeeck (3/27/2014)
W00t w00t, this one makes my 12000th point. 😎
Congrats!
March 27, 2014 at 8:08 am
Here is one way.
create table #Something
(
ID int,
Name varchar(50),
Address varchar(50),
DateInserted datetime
)
insert #Something
select 1, 'Amy Paul', '2 Main St, Acton,MA', '2013/03/02' union all
select 1, 'Amy Claire Paul', '2 Main St, Acton,MA', '2014/01/09'...
March 27, 2014 at 8:06 am
JKSQL (3/26/2014)
I have a table call Foo that has Id,...
March 27, 2014 at 7:58 am
yuvipoy (3/27/2014)
Sean Lange (3/27/2014)
I would recommend though that you have some other column as your clustered index.
Coludn't get you.
You mean to say primary key clusterindex on the child tables??
No...
March 27, 2014 at 7:57 am
Hi and welcome to the forums. It looks like maybe you want a crosstab here. You can read about the technique by following the link in my signature.
If you need...
March 27, 2014 at 7:50 am
yuvipoy (3/27/2014)
Can we have a GUID Column to primary key with nonclusterindex?
Is nonclusterindex is needed while we run the GUID column on WHERE Condition.
Say for eg i am having 50...
March 27, 2014 at 7:40 am
Loads fast now. Not sure what the issue was. I tried several times yesterday and no dice. I only have a couple of the scripts added to my briefcase so...
March 27, 2014 at 7:37 am
Nice question about a basic concept that many people don't understand. Given that at the time of post there are 30% wrong answers it seems this is something that many...
March 27, 2014 at 7:29 am
mdsharif532 (3/26/2014)
2013 = Baseline + Baseline*0.055
2014 = 2013 + 2013*0.055
2015 = 2014 +...
March 26, 2014 at 2:15 pm
This seems like it is pretty cool. It loads up the scripts section pretty fast. However, the favorites seems to be broken. I clicked on favorites and it asked me...
March 26, 2014 at 12:25 pm
kishorreddy.yuva (3/26/2014)
ID Join_Date Join_Qtr End_Date End_Qtr
1 2014-01-12 2014Q1 2015-05-15 ...
March 26, 2014 at 12:12 pm
mberran (3/26/2014)
March 26, 2014 at 11:54 am
Viewing 15 posts - 5,386 through 5,400 (of 15,381 total)