Viewing 15 posts - 826 through 840 (of 2,612 total)
Ok, this is an interesting approach and a good attempt, but it is not a good way to do this.
From the code, the ID is always 'PW' followed by a...
August 18, 2008 at 7:21 am
The easiest way to see the result is to run it both ways and compare the execution plans. I tend to run both in a single batch - this...
August 18, 2008 at 7:12 am
I would guess the larger file is unicode and the smaller is ascii. Check the character sets of the output files.
August 18, 2008 at 7:07 am
You cannot do this:
[font="Courier New"]SELECT @Rows = COUNT(*) FROM @tblname[/font]
To do this, @tblname would have to be a table variable. In your case, it is...
August 18, 2008 at 7:04 am
You should get a book or search around this site and search google for how to use SSIS to transfer data. What you are doing is fairly simple and...
August 18, 2008 at 4:45 am
There is no FIRST function in MSSQL.
You can use a CROSS APPLY to do this pretty easily, but it will generate a loop when it runs, so it may not...
August 15, 2008 at 1:03 pm
It will depend on the dynamic SQL and the case statement methods used.
I would imagine that the author found a situation in which they are correct. However, this is...
August 15, 2008 at 10:51 am
Why aren't you using a data flow task?
August 14, 2008 at 6:11 am
Think from the other direction - if there were no rows, delete the file.
Get the rowcount during your data flow and put it into a variable. In the control...
August 11, 2008 at 3:13 pm
I would not take this approach. You are getting dangerously close to making yourself responsible for a tape backup failing - and you may simply have no control over...
August 11, 2008 at 2:41 pm
That will depend on a lot of factors.
Usually, most of the work is done at the Analysis Services end, so the memory needed on the client end is not much....
August 11, 2008 at 2:33 pm
You could do this using a variable.
You can control your package flow through the use of expressions in your flow connectors. Since a package does not have to be...
August 11, 2008 at 6:32 am
This has been hit or miss for a lot of people. I have had good and bad experiences with virtual servers and SQL 2005 and I do not use...
August 8, 2008 at 7:33 am
I agree - avoid using hints - they are a last resort. NOLOCK, in particular, is a commonly misused and misunderstood hint and should rarely be used.
I did notice...
August 8, 2008 at 7:26 am
Viewing 15 posts - 826 through 840 (of 2,612 total)