Viewing 15 posts - 1 through 15 (of 27 total)
Thank you all for helping me out! This was a huge timesaver. I ended up using Sean's code, but I tested David's and that would have worked as well.
SQLServerCentral.com...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
February 21, 2011 at 10:39 am
Once you remove the IA_, use CHARINDEX to find the next unserscore, subtract 1 from that position and that will give you the length of the substring you must use.
Thanks,...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
February 18, 2011 at 2:29 pm
We did this very same "string distance" matching algorithms 3-4 years ago at a place I worked. It works great for small datasets, but SSIS fuzzy matching is much faster...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
June 10, 2009 at 11:13 am
I finally was able to resolve this issue.
Turns out that somehow 2 variables of the same name got created. When I looked at the variables though, it did not...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
May 4, 2009 at 2:26 pm
John Rowan (5/1/2009)
1. Package does some import stuff.
2. Execute SQL Task checks table row...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
May 1, 2009 at 2:01 pm
No problem.
Basically, I want to check if data is available in a table by doing "SELECT COUNT(ID) FROM Table_A". I want to pass the value of the count to...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
May 1, 2009 at 1:47 pm
Same results. The excutes SQL task runs successfully, but never changes the variable value.
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
May 1, 2009 at 1:40 pm
I should have mentioned in my original post, I have my precedant contraint set as such:
Evaluation operation = Expression and Constraint
Value = Success
Expression = @[User::CheckData] > 0
Logical AND
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
May 1, 2009 at 1:26 pm
Thanks!
I thought the solution might be something similar to that. I had the first OR statement in my test code, but not the second OR statement. I ran the code...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
April 23, 2009 at 10:44 am
Thanks Jack.
I am getting an error when I inject that code into the expression.
=(Fields!AvgDailyTalkTime.Value\60*60).ToString("0#") & ":" & ((Fields!AvgDailyTalkTime.Value \ 60) - 60).ToString("0#") & ":" & (Fields!AvgDailyTalkTime.Value mod 60).ToString("0#")
The...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
January 9, 2009 at 2:32 pm
I have this problem as well. I was studying for 2-3 months on SQL Server 2005 and then my company moved production environments to SQL Server 2008. Now I hear...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
January 4, 2009 at 11:10 am
Thanks everyone. Jack's solution looks like it is going to work for me.
I don't have the ideal situation in that the field contains the full name of the employee...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
December 4, 2008 at 4:00 pm
Looks like this is going to work out perfectly. On first pass through it looks like it caught all of the ID's and put them on seperate lines like I...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
September 29, 2008 at 3:16 pm
Excellent, worked exactly as I originally needed.
Curious, I've never heard of spt_Values until now. What is it typically used for?
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
September 14, 2008 at 1:51 pm
Thanks Jeff, you've helped me out a few times in the past couple of weeks. I really appreciate it.
I like the idea of not using 12 IF's, but it...
_______________________________
[font="Tahoma"]Jody Claggett
SQL Server Reporting Analyst[/font][/size]
September 11, 2008 at 11:46 am
Viewing 15 posts - 1 through 15 (of 27 total)