Viewing 15 posts - 196 through 210 (of 223 total)
As I don't truly make any adjustments to the model, the important one to me is the msdb containing all the scripts for jobs. For me, the important one of...
March 21, 2008 at 7:17 am
I see Hugo's point. You cannot take into account leap years and other such anomalies when you are creating a calculation using months. Months are unreliable in a...
March 10, 2008 at 10:42 am
Hugo,
Not sure what you mean but I took the date you implied (37 years and 9 months ago) and ran the routine and came up with 37 and 3/4 years...
March 10, 2008 at 10:11 am
I like the fact that Rick used the CTE. Interesting approach Rick
Jamie
March 10, 2008 at 10:03 am
Rick,
I don't know how to search the posts and there are too many to find yours. Can you repost?
Jamie
March 10, 2008 at 9:15 am
Hugo,
http://www.sizes.com/time/cal_gregorian.htm
Try changing the Int to Round. Note that the calculation takes into account the factors you mentioned. I just put this one out there (with int...
March 10, 2008 at 9:08 am
I think it may work if the int function is changed to round. I took this from VB code which does work. I confused the cint function in...
March 10, 2008 at 8:41 am
Without extensively testing - I haven't checked whether int or round is the correct function below; however, at the very least, the two functions below will give you the correct...
March 10, 2008 at 7:04 am
The second answer is clearly the "best" answer. The third one is incorrect and the first one is clearly not the best. A better answer might have been...
March 6, 2008 at 8:50 am
The second answer is clearly the best answer. The third one is incorrect and the first one is clearly not the best. A better answer might have been...
March 6, 2008 at 8:47 am
Ryerson has a cool picture of breadth first vs depth first traversal
http://www.ryerson.ca/~dgrimsha/courses/cps721/images/nBreadthFirst.gif
http://www.ryerson.ca/~dgrimsha/courses/cps721/nDepth.html
IS the breadth-first command available in SQL 2005?
with recursive itemlist(atitem,piece,qty,cost) AS
(select item_id,planning_item,1,0)
from titems
where item_id='AT1000000'
UNION ALL
SELECT item_id,piece,qty,qty*cost
From vInventory,tItems
where...
February 29, 2008 at 5:03 am
Whew... got that one wrong! This explains why there were issues on SQL 2000 when moving over to 2005 IDE.
Does the IDE for SQLMgr pick up the...
February 25, 2008 at 4:47 am
Viewing 15 posts - 196 through 210 (of 223 total)