Viewing 15 posts - 57,556 through 57,570 (of 59,098 total)
You can have millions of recursive calls so long as you don't exceed 32 levels of nesting... same as number of nested triggers, nested stored procedures, etc. Write a function...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2006 at 11:00 pm
It is if you make it table driven for the days of the week based on language...
But I get your point... to be portable, you would have to use one...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2006 at 10:53 pm
Warning: Recursion is good only to 32 levels and then BOOM!!! ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2006 at 7:23 pm
Then, simply change the English days of the week to something the non-English speaking server understands. ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2006 at 6:53 pm
Another good reason for learning it is so you can "ban" it... I don't mean "not use it", either... I mean import the data into nice normailzed tables... storing the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 28, 2006 at 12:02 am
If the Boss wants it real bad... he/she can have it that way (real bad)
Good luck.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2006 at 1:37 pm
Does anyone out there use schema binding for a function? I'd be real interested in knowing any performance benfit you may have seen...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2006 at 1:08 pm
Almost forgot... you can schedule a job to run every five minutes on the target server to look in the directory for where you place the file... when it sees...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2006 at 1:02 pm
BCP to native format... BCP or Bulk Insert from native format... only requires BULK ADMIN role privs... not SA. Nasty fast...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2006 at 1:00 pm
GREAT answer... I'd also add that I'd avoid views of views (can become a little memory intensive, more difficult to trouble shoot, and if written incorrectly, will need one view...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2006 at 12:56 pm
Sure... until you have to do a calculation with both... then, as Remi suggested, it won't be possible to use an index even if both columns are indexed.
Just as a...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2006 at 12:30 pm
As suggested, do a search on this forum... there's a particullarly good and nasty fast function
to calculate Work Days (week days,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2006 at 12:13 pm
An it's pronounced like the steel rod that but in concrete... ree-bar...
(translation... steel stick in the mud ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2006 at 11:23 am
No... but it sounds like you have... what'd ya come up with?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2006 at 11:21 am
IMHO, views of views are a bit like writing functions that call functions... they sure seem useful until you need to troubleshoot...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2006 at 6:43 am
Viewing 15 posts - 57,556 through 57,570 (of 59,098 total)