Viewing 15 posts - 7,546 through 7,560 (of 18,926 total)
With 90% certainty, no you cannot be garanteed that it'll work without retesting the whole thing (or getting approval letters from the vendors).
Another question here... why not go to sql...
November 11, 2010 at 2:14 pm
I don't have any machine to test this out but it's quite easy to test.
Build a new empty db and put 1 mb in the log and 1 mb increment.
Add...
November 10, 2010 at 4:19 pm
Make sure you can ping it from the "linking from" server. It's most likely a switch or firewall problem.
I've also foun one that using the ip adress was working...
November 5, 2010 at 10:29 am
One more important detail. The SAME page can be read multiple times in that total. So even if the whole table has only 5 pages, the total reads...
November 4, 2010 at 5:14 am
Of course, I was just having fun with the tempdb thingie.
November 3, 2010 at 12:18 pm
Yes, but only when running the code in tempdb, that's why I was having a little fun with it in the code snippe with a bunch of usings.
November 2, 2010 at 2:18 pm
Craig Farrell (11/2/2010)
Ninja, the CREATE INDEX #idx_1 ...also works as CREATE INDEX idx_1...
Don't need the # for the index name there. Just fyi. Works either way.
Tx, I used...
November 2, 2010 at 12:00 pm
Craig Farrell (11/2/2010)
Ninja's_RGR'us (11/2/2010)
Even if it makes no difference here, it should read : IF Object_id('tempdb..#tmp') IS NOT NULLWith tempdb.. missing you'll never have a hit on that id.
Hmmmm....
CREATE TABLE...
November 2, 2010 at 11:57 am
That version works. Not using PK but same effect.
CREATE TABLE #Table1
(
TeacherID BIGINT
, StudentID BIGINT
)
CREATE UNIQUE CLUSTERED INDEX #IX_Tbl1 on #Table1 (TeacherID, StudentID)
CREATE TABLE #Table2
(
TeacherID BIGINT
,StudentID BIGINT
) ON...
November 2, 2010 at 11:51 am
Even if it makes no difference here, it should read : IF Object_id('tempdb..#tmp') IS NOT NULL
With tempdb.. missing you'll never have a hit on that id.
November 2, 2010 at 11:45 am
Craig Farrell (11/2/2010)
CREATE TABLE #tmp (tID INT);
IF Object_id('#tmp') IS NOT NULL
BEGIN
DROP TABLE #tmp
END;
IF Object_id('#tmp') IS NULL
BEGIN
CREATE TABLE #tmp(tID INT, tTxt VARCHAR(50))
END;
So, I'm going to go with...
November 2, 2010 at 11:43 am
I do that in prod no problem. Can you post the create table and index scripts you are using?
November 2, 2010 at 11:33 am
Craig Farrell (11/1/2010)
Of course to make my life interesting, this gets grumpy too and I can't remember how to get it to behave offhand. Maybe someone else remembers how...
November 2, 2010 at 11:20 am
Jeff Moden (11/1/2010)
Craig Farrell (11/1/2010)
November 2, 2010 at 11:15 am
Grant Fritchey (11/2/2010)
November 2, 2010 at 6:26 am
Viewing 15 posts - 7,546 through 7,560 (of 18,926 total)