Viewing 15 posts - 22,861 through 22,875 (of 59,067 total)
I've run into such stubborn files in the past. Normally I "give in" to the following...
1. Run DBCC CheckDB to make sure there's no corruption.
2. Do a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2014 at 5:47 pm
CELKO (8/21/2014)
This is one of those places where a loop (please see the solution I posted above) actually does work quite well and it's self correcting based on the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2014 at 5:24 pm
Just "another country" heard from. Can't post to "The Thread" or a couple of other places. The "864" problem is also coming in over email, and a lot...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2014 at 5:09 pm
Sean Lange (8/20/2014)
BTW, You should not get into the habit of things like getdate() - 1. You should be explicit and use dateadd.
Heh... or just dump the newer date/time datatypes...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2014 at 5:44 pm
Thanks, David. I appreciate it.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2014 at 1:38 pm
DIAL (8/20/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2014 at 1:37 pm
davidmckee (8/20/2014)
Final MySQL:
SELECT Team, Wins, Losses, CAST(IF(Wins + Losses = 0,0.0,Wins / CAST(Wins + Losses AS Decimal(6,3))) AS Decimal(6,3)) Percentage, ((ABS((SELECT MAX(Wins ) FROM WinLossSum) - Wins ))...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2014 at 9:11 am
CELKO (8/20/2014)
The bottom line is that...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2014 at 8:53 am
Our pleasure. Evven though it's MySQL, any chance of seeing the final code you ended up with including the views? Thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2014 at 8:45 am
CELKO (8/19/2014)
Please read any book on RDBMS, so you will learn what a normal form is and why a good programer will never do anything like this in RDBMS.
Not quite...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2014 at 9:24 pm
davidmckee (8/19/2014)
I did some research after copying the code into the query and receiving errors...maybe this...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2014 at 9:19 pm
Any feedback? Is there something missing?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2014 at 9:10 pm
WhiteLotus (8/19/2014)
GilaMonster (8/19/2014)
Firstly, is that value a problem? Is it higher than usual? Is it causing problems?
Thanks for your response! appreciate it !
Yes I use SOLARWIND to monitor SQL Performance...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2014 at 8:41 pm
davidmckee (8/19/2014)
I connect to the server/table using phpMyAdmin[font="Arial Black"] I believe it is a MySQL database[/font]
Wellllll.... crud. I came up with something fun but now I don't know if...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2014 at 8:12 pm
CELKO (8/19/2014)
5. Keep the rows short by using computed columns that are not materialized until needed for somethings. Overloading rows in a Calendar is a common problem.
Careful now... "It Depends"...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2014 at 5:58 pm
Viewing 15 posts - 22,861 through 22,875 (of 59,067 total)