Viewing 15 posts - 6,691 through 6,705 (of 7,164 total)
Test the execution plans but my testing shows this form of the query perform a bit better than the DELETE...IN method:
-- Credit to Itzik for exposure to technique
WITH ...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 2:17 pm
Some random thoughts...
1. MSIS = Microsoft Integration Services? Maybe a local Windows account or Domain account accessing the server via an AD group?
2. Re: the logging table you have setup...do...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 1:33 pm
steve smith-401573 (4/8/2011)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 1:19 pm
BCP would be an excellent solution IF I knew the output file format. Where will I find the definition(s) for truncation that SSMS provides? When I examine an...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 12:42 pm
ISNUMERIC was not changed from 2000 to 2005 with respect to a single decimal point. This returns 1 on 2000 and 2005:
SELECT ISNUMERIC('.') ;
which happens in support of the...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 12:32 pm
Keep going...your query is subject to a data-driven bug.
CREATE TABLE #temptable(tranName varchar(1),planname varchar(20), priority int)
INSERT INTO #temptable VALUES ('a','plan1',1)
INSERT INTO #temptable VALUES ('a','plan2',2)
INSERT INTO #temptable VALUES ('c','plan3',3)
INSERT INTO #temptable VALUES...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 12:20 pm
It has to do with the optimizer and how much "smarter" it has gotten since 2000. In your situation however you are experiencing a regression as a result of improvements...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 12:01 pm
Dominic Gagné (4/8/2011)
I need to extract data from a linked server by using a StoredProc with a parameter. I wanted to store the result in a temporary table...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 10:27 am
Here is a good start explaining how NULLs are tracked by the storage engine at the page level in non-sparse columns: http://www.sqlskills.com/BLOGS/PAUL/post/Misconceptions-around-null-bitmap-size.aspx
And some info about Sparse Columns: http://www.sqlskills.com/BLOGS/PAUL/category/Sparse-Columns.aspx
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 9:44 am
I do not know what the proc is doing so I may be completely off the grid here...but I can't get over the assumption that you should even be in...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 9:36 am
I agree with Dan. I categorize this kind of work into the sysadmin domain which is not a strength of SSIS.
What you've described is a need to sync a...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 9:28 am
steve smith-401573 (4/8/2011)
Environment: SS 2008 SE, minimal installation (client tools, basic db only. No SSRS, no SSIS)
BCP is a good candidate for this kind of work. It can...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 8, 2011 at 9:15 am
bozzybox (4/7/2011)
As requested by Mr or Mrs. 500, here is an overview...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 7, 2011 at 11:35 pm
That's good info, thanks for your responses.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 7, 2011 at 10:30 pm
Do you have any experience using the technique? Can you speak to how well it scales?
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
April 7, 2011 at 5:39 pm
Viewing 15 posts - 6,691 through 6,705 (of 7,164 total)