Viewing 15 posts - 23,881 through 23,895 (of 59,099 total)
Here's one way. The expected indexes are essential.
DECLARE @Emp TABLE
(
Empid INT PRIMARY KEY CLUSTERED,
EmpName VARCHAR(10)
)
DECLARE @Proj TABLE
(
ProjID INT PRIMARY KEY CLUSTERED,
ProjName VARCHAR(10)
)
DECLARE @EmpProj TABLE
(
EmpID INT,
ProjID INT,
PRIMARY KEY CLUSTERED (EmpID,...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 11:54 pm
Nope... it's absolutely solid "advice" in its purest form. You just don't see it, yet. You're worried about solving the problem all at once and can't see the...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 8:21 pm
The title of the article is "How Long Before You Upgrade"? I think a better question/title might be "How long before you change to a newer version"? While...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 7:52 pm
halifaxdal (4/11/2014)
There is another sp to be converted and this sp contains loop and lots of calculation. The original sp is working fine and logic is...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 7:38 pm
SQLRNNR (4/11/2014)
Not sure if this is just a test post or if you needed help with the data you posted. Could you clarify please?
It's posted to the "Test forum"...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 7:33 pm
Port1433 (4/11/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 7:25 pm
todd 87764 (4/10/2014)
If I...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 7:23 pm
Becareful using DATEDIFF for the calculation of durations. The difference between 11:59PM and 12:00AM according to DATEDIFF is an hour because DATEDIFF doesn't calculate durations... it simply calculates the...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 6:44 pm
Gerald.Britton 28181 (4/11/2014)
One advantage is that Select...Into can lock the database until the insertion is completed.
Across linked servers, yes, and it does put certain shared locks on TempDB that make...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 6:34 pm
Gosh... don't do this with a trigger. If the destination can't be reached for some reason, your source system is dead. Also, the scope of the INSERTED and...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 12:42 pm
No... no setting in SSMS anyway. If I'm doing a lot of such work, I write a macro in word to do it. Copy and paste is pretty...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 12:36 pm
It would be nice if you limited your forum posting tests to just one post that says "Just testing, please ignore". Thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 12:32 pm
asita (4/10/2014)
Could somebody please help me, any ideas please...
First, there's no way that I know of to do this and any even educated guess at calculated column widths could easily...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 8:11 am
souLTower (4/11/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2014 at 7:07 am
Koen Verbeeck (4/2/2014)
Jeff Moden (4/2/2014)
Heh... waiting for SP1. 😉Good grief, there may be 25 CUs released before they even think about an SP 😉
Heh... gotta give 'em time to get...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 10, 2014 at 7:27 pm
Viewing 15 posts - 23,881 through 23,895 (of 59,099 total)