Viewing 15 posts - 24,751 through 24,765 (of 26,486 total)
How about showing us what you are trying to do? Your code, table DDL, sample data, and expected output.
😎
May 20, 2008 at 10:25 am
So, based on this discussion ALL programming languages should then throw an error if there is a truncation occuring due to attempting to pass a string value that is larger...
May 20, 2008 at 10:21 am
Use what works best. I just thought I'd throw another way to do it your way.
😎
May 20, 2008 at 9:51 am
John Rowan (5/20/2008)
I just based it on the OP's post.
What a novel concept.....:)
lol... Of course, how many times has that turned out to be NOT what they want. There...
May 20, 2008 at 9:50 am
As this is SQL Server 2005, how about this:
select
EmpID,
EmpName,
Pin
from
dbo.Table1
except
select
EmpID,
...
May 20, 2008 at 9:39 am
I took Gail's code and made some changes. Go ahead and check it out.
create table #Temp(
...
May 20, 2008 at 9:16 am
To expand on Jeff Moden's post. You will need to use the Execute Process Task. You will need a Zip utility with a command-line capability.
😎
May 20, 2008 at 8:58 am
Do the following as well:
sp_configure 'show advanced options', 1
go
reconfigure
go
sp_configure
go
Check the value for Default Language. If the run value is 0, then it is set to us_english. You then...
May 20, 2008 at 8:42 am
Shark Energy (5/20/2008)
May 20, 2008 at 8:28 am
John Rowan (5/19/2008)
May 20, 2008 at 8:04 am
riverswillbeer (5/19/2008)
Awesome ... done deal ... Thanks sooooo much !!!!!;)
Your welcome. Just to follow-up though, do you know why I made the suggested change in your WHERE...
May 20, 2008 at 8:00 am
He should be able to if he takes the time to read your article. That is where I came up with the idea for this solution.
😎
May 19, 2008 at 9:05 pm
Can any of the values in the denominator be negative, or are all values greater than or equal to zero?
😎
May 19, 2008 at 5:03 pm
I'd do the following instead (notice change in the where clause):
select
UniqueID,
sum(case termcd when 'BM' then 1 else 0 end) as BM,
...
May 19, 2008 at 4:15 pm
Viewing 15 posts - 24,751 through 24,765 (of 26,486 total)