Viewing 15 posts - 151 through 165 (of 621 total)
Ok, so I am going to go ahead with the straw grabbing. I was messing around with Drew's suggestion to ouput to text, combined with casting various substrings as...
January 12, 2012 at 5:42 pm
Well my hopes are all but dashed now. I spoke to our mainframe guru, and she told me the column is a user defined data type. The first...
January 12, 2012 at 5:04 pm
SQL Kiwi (1/11/2012)
Just out of interest, what are you using to connect to DB2?
Paul
I'm using the MSDASQL provider. I tried using the IBM provider that came with my IBM...
January 11, 2012 at 3:46 pm
Thank you both for the tips. After doing some research (google), I believe I am working with a packed decimal field. I suspected this was the case when...
January 11, 2012 at 2:21 pm
Thank you Paul. I'm still a bit confused, but I did find where the 'B' is coming from, sort of...
DECLARE @string VARCHAR(100)
SELECT @string = 0x4200000012F80C4D00000003C5144E00000000650C
SELECT CONVERT(CHAR(10),@string)
The 'B' shows up...
January 11, 2012 at 12:38 pm
Zarko Jovanovic (11/2/2011)
googling your message:
Zarko, I did find that one, but the link does not work. Thanks.
November 2, 2011 at 9:02 am
calvo (10/27/2011)
Sure can!
MysteryJimbo (10/27/2011)
You are free to delete .bak files as you please.
Thanks to both of you for such a quick response. In searching BOL for an answer, I...
October 27, 2011 at 6:35 am
The Oracle concept of database is pretty different from the SQL Server concept of it, in simple terms - if you have an Oracle instance up and running you have...
August 8, 2011 at 8:12 am
Thank you for putting my mind at ease Jeff. I have been trying everything under the sun, and I have been unable to come closer than the final balance...
July 10, 2011 at 5:42 am
Jeff Moden (7/8/2011)
Greg,Did you change ALL the variables to DECIMAL??? Even the "period" related INTs?
I thought I did Jeff, but I will have to double check again. Your...
July 8, 2011 at 9:03 pm
Thanks Kevin. Although I see lots of discussions about CLR's, I have absolutely no idea what that is.
July 7, 2011 at 1:30 pm
Matt Miller (#4) (7/7/2011)
Looks like LOG() is the natural log. LOG10 is log base 10.Keep in mind that LOGnnn(Y) = LOG(Y)/LOG(nnn)
DOH! I was looking for a 'Ln' function...
July 7, 2011 at 11:20 am
Maybe I'm just rambling to crickets chirping here, but there does not seem to be a natural log function in SQL Server. LOG10 works just as well though.
-- Given...
July 7, 2011 at 10:43 am
Ok, I knew that pesky e would come in handy some day.
X^3 = 343
3 * Ln(x) = Ln(343)
Ln(x) = 1.945910149
7 = e^1.945910149
Problem solved. I will admit straight up that...
July 7, 2011 at 9:31 am
Well, now I think the bankers and old ladies feathers will really be ruffled. I tried DECIMAL(28,18) and now I'm left with a positive balance of 35.991877150516022430. I...
July 6, 2011 at 9:27 am
Viewing 15 posts - 151 through 165 (of 621 total)