Viewing 15 posts - 391 through 405 (of 805 total)
Functions used in a select will slow a query down as the contents of the function is run for each and every row. but I said that already
July 10, 2007 at 10:07 am
When you add the path, you use D: when the error is \\tedevsql02.
is D: relative to that server?
How about security? Can SQL See that path?
July 10, 2007 at 8:11 am
I second that - Not In's can kill you. Avoid non-sargable queries.
http://www.sql-server-performance.com/transact_sql.asp
"Try to avoid WHERE clauses that are non-sargable. The term "sargable" (which is in effect a made-up...
July 10, 2007 at 1:55 am
The main drawback for RAID5 is the time taken to calculate the parity bit. When log files or data files are on a RAID 5 array, the write requests are...
July 10, 2007 at 1:47 am
Firstly, get rid of the nested select. Functions and nested selects are inherently slow.
Rather use another way such as a join, case statement etc to suite.
This however does not explain...
July 10, 2007 at 1:38 am
and there you go... Have to love the simple alternatives.
July 5, 2007 at 12:10 pm
hold your horses....
The duplicates in cache cannot be seen in the data viewer. You are looking at your source data there, not the cache.
Saying ignoring errors because there is an...
July 5, 2007 at 4:36 am
You're sort of on the right track.
You need to use the error output for each component in the data flow. That's the red line. You also need to ensure that...
July 5, 2007 at 3:46 am
Not really an answer to your question (because I don't use ActiveX script task)
The ActiveX component is depreciated. Why not change the code to use the script component which is...
July 5, 2007 at 3:41 am
First note: Don't select a table unless you are using every single column in it. If you are not, select only the columns you will use. Why waste memory?
The key...
July 5, 2007 at 3:26 am
it's as the error says - you have a duplicate in your cache.
The statement that you are using for the lookup is returning a duplicate based on the key. Run...
July 5, 2007 at 2:26 am
You cannot change the meta data at run time for a data flow.
Your best bet is to dynamically create SQL to do the select and insert and execute it as...
July 4, 2007 at 1:41 am
Stay away from the active x script. It is end of line and would be removed soon(?)
if you really want to log using VB, you would use StreamWriter object.
Here...
July 3, 2007 at 1:59 am
You will have to use a script task or a file system task to create the folder. The name and path of the folder can be derived from a variable...
July 3, 2007 at 1:56 am
Your best bet is then to use a *.* wild card.
Inside your loop, drop a container control. This does nothing but lets you add a constraint between it and your...
July 2, 2007 at 2:48 pm
Viewing 15 posts - 391 through 405 (of 805 total)