Viewing 15 posts - 42,676 through 42,690 (of 49,571 total)
There's no built-in function that does that. However...
Itzik, in his PASS precon, showed a cool trick for faking one using some highschool maths.
LOGx(a * b * c) = LOGx(a) +...
December 2, 2008 at 2:22 pm
Paul Randal (12/2/2008)
December 2, 2008 at 2:16 pm
Jeff Moden (12/2/2008)
December 2, 2008 at 2:15 pm
Oksana March (12/2/2008)
I have same question but how to go from beginner to intermediate! Oksana
Study for the SQL certifications.
Note, I did not say write and pass them. I said...
December 2, 2008 at 2:09 pm
santhoshkumar.boregowda (12/2/2008)
The SUM of above must be equal to zero.
No way to ensure that with a float.
Any Suggestion?
Change the data type to one that is precise and accurate.
December 2, 2008 at 2:07 pm
santhoshkumar.boregowda (12/2/2008)
Actually these types of result are affecting the production in one or other way.
some batches will be having a query like
WHERE col = '0'...
December 2, 2008 at 2:05 pm
You're not getting a junk value, you're getting a value very close to 0. -2.7465348468E-13 is scientific notation. Expanded out it's 0.000000000000227373675443232
Float's aren't accurate data types. They're approximate and rounding...
December 2, 2008 at 1:20 pm
As I said, firstly, the growth should not be 10%. That's a bad default and it gets out of hand on larger databases. Change it to a fixed size (depending...
December 2, 2008 at 1:16 pm
jeffkretz (12/2/2008)
Does anyone have any opionions about this practice? Good idea? Bad idea?
JK
I think a lot of people do that or do a full technical interview before the...
December 2, 2008 at 1:12 pm
Grant Fritchey (12/2/2008)
December 2, 2008 at 1:01 pm
Two things.
Autogrow should not be left on a percentage (the default) as that causes massive grows for larger databases, with the resulting time problems and poor performance during the grow.
You...
December 2, 2008 at 12:59 pm
You could. I had this nasty mess on my hands once on SQL 2000.
SELECT SomeColumn, CONVERT(varchar(20),SomeDate,107) AS SomeDate
FRom SomeTable
Order By SomeDate
The ordering came out with April first.
December 2, 2008 at 11:41 am
Paul Randal (12/2/2008)
Of course,...
December 2, 2008 at 11:29 am
Could you post the complete output of checkDB please, with all of its errors and recomendations.
Was this DB upgraded from SQL 2000 and how long ago was it upgraded?
December 2, 2008 at 11:09 am
Grant Fritchey (12/2/2008)
Sorry. What I said earlier was misleading. Also, on rereading, I'm not shocked that this doesn't...
December 2, 2008 at 10:47 am
Viewing 15 posts - 42,676 through 42,690 (of 49,571 total)