Viewing 15 posts - 4,216 through 4,230 (of 6,036 total)
What's wrong with #tables?
You can populate one or more tempopary tables and call any SP on any database within the same server. These tables will be visible for that SP.
If...
May 31, 2007 at 1:55 am
I know.
I mentioned in this thread that my split function using loop was 10-15% faster than Jeff's option using table Numbers.
But it's still - single user approach.
Remember: when you run...
May 31, 2007 at 1:49 am
Robert, to exclude any doubts do SELECT ... INTO #SomeHashTable.
No time on passing data spent in this case.
Igor, you did not mentioned which year technology used for you HDD.
I guess...
May 30, 2007 at 11:34 pm
You can update any kind of view if you have appropriate INSTEAD OF trigger on it.
Actually in such case UPDATE will not do anything but invoke the trigger code.
What will...
May 30, 2007 at 10:15 pm
Wanna know REAL reason?
Just to prove the point that normal-minded developers can design and run a data centric system without yours, bloody annoying SQL geek, stupid suggestions and intrusions, the...
May 30, 2007 at 9:34 pm
If the whole point is to find some use for XML then, well, it's quite useful.
But if you are looking for best solution then using of XML does not make...
May 30, 2007 at 8:29 pm
Jeff, there is no reason to get mad.
Just change your attitude. ![]()
As for me, I open topics from this nick only when I feel...
May 30, 2007 at 8:11 pm
I believe this would be cleaner and faster option:
Delete mt
From mainTable mt
inner join deleted d on d.formID = mt.formID
inner join drugMap dm on dm.synonymID = d.synonymID AND mt.drugID = dm.drugID
inner...
May 30, 2007 at 7:25 pm
Why SUM???
Why not simple COUNT?
And you don't need ISNULL for COUNT.
May 30, 2007 at 7:18 pm
To make thing even worse for you lets try to perform second arithmetic operation:
declare @fOne float, @fThree float, @fFraction float, @fSeventeen float
declare @dOne decimal(12, 6), @dThree decimal(12, 6), @dFraction decimal(12,...
May 30, 2007 at 5:01 pm
msalomon,
try this:
declare @fOne float, @fThree float, @fOneThird float
declare @dOne decimal(12, 6), @dThree decimal(12, 6), @dOneThird decimal(12, 6)
SET @fOne = 1 SET @fThree = 3
SET @fOneThird = @fOne / @fThree
SELECT @fOneThird...
May 30, 2007 at 4:50 pm
If you use FLOAT for calculations the result could not be more precise than FLOAT precision.
So, when you're storing FLOAT result as DECIMAL you fool yourself.
Yes, DECIMAL pleases your eyes...
May 30, 2007 at 4:44 pm
Little correction:
select @NameList = isnull(@NameList + ', ','') + Name from Customer
and you don't need the next statement cutting off last comma.
May 30, 2007 at 4:26 pm
You know, I would not probably mention this "minor improvement" if I would not see (with my own eyes) Reserved Space = -400MB.
Quite useful information, right?
May 30, 2007 at 2:27 pm
Viewing 15 posts - 4,216 through 4,230 (of 6,036 total)