Viewing 15 posts - 16 through 30 (of 59 total)
Thanks to you too Lowell for your input. Squirelled away for later use I'm sure !
Matthew
August 30, 2012 at 7:30 am
@Cnporteus, yes saw that one, didn't work for high enough hours though.
@Laurie - Thanks for this tweaked it to:
declare @time decimal(5,2);
set @time = 95.75
select replace(cast(convert(decimal(10,2),cast(@time as int)+(((@time-cast(@time as int))*.60))) as...
August 30, 2012 at 7:21 am
Hi,
Thank you for your responses. I guess the final answer is... the code is efficient as it is going to be. I thought about JOINS, but it is a bit...
June 19, 2011 at 12:13 pm
Lynn Pettis (6/19/2011)
June 19, 2011 at 3:42 am
GilaMonster (6/18/2011)
Table variables ignore explicit rollbacks. It's a feature of theirs. Try with temp tables, you'll see what you expect.
Ahhh. Thank you very much for taking the time to answer.
Matt
June 18, 2011 at 5:07 pm
Gianluca Sartori (6/6/2011)
Gail knows:http://sqlinthewild.co.za/index.php/2010/09/14/one-wide-index-or-multiple-narrow-indexes/
Indeed she does..... thank you very much for the pointer.
June 6, 2011 at 8:20 am
What is XP 2007 SP2 ?
If you are on XP, then I would get SP3 first from windows update.
June 6, 2011 at 7:38 am
Hi,
Thank you to everyone for your input. The application already exists as a legacy payroll system. The problem is that the old code is cusoring through large tables collecting gross...
January 25, 2011 at 9:25 am
Jeff Moden (7/11/2010)
m.dunster (7/11/2010)
I've managed to successfully adapt this to solve my problem. Now I'll have to spend some time trying to understand exactly what is happening.
Point noted about the...
July 12, 2010 at 5:15 am
Hi,
I've managed to successfully adapt this to solve my problem. Now I'll have to spend some time trying to understand exactly what is happening.
Point noted about the data provision.
Many thanks,
Matthew
July 11, 2010 at 10:39 am
Hi Lutz,
I've tried this, and it updates every weeknumber to be 1.
Perhaps I am putting it into the Update incorrectly. I need to examine the syntax and figure out what...
July 11, 2010 at 6:03 am
Thank you for your reply.
I'm not building a calendar table. I'm calculating something which requires totals to be broken down into weeks. It could just as easily be blocks of...
July 11, 2010 at 4:44 am
Jeff Moden (4/2/2010)
m.dunster (3/18/2010)
The problem is that a retailed application requires updates to the database structure.
Thanks for the feedback, Matt, but could you explain the business reason behind this? ...
April 4, 2010 at 12:37 pm
Jeff Moden (3/17/2010)
It's normally a very bad idea to programatically add a column as a matter of course and it's usually really bad...
March 18, 2010 at 7:54 am
Viewing 15 posts - 16 through 30 (of 59 total)