Viewing 15 posts - 40,171 through 40,185 (of 59,098 total)
Yes...
The first "1" controls how many "levels" to go down from the directory listed in quotes with the directory listed in the quotes being "Level 1". In other words,...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 11:48 pm
Heh... after two days, I wonder if it's still "urgent". :hehe:
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 11:43 pm
KpSQL123 (1/21/2010)
Can some one please let me know how to split the month as weeks. Let's take January has 6 months
1-2 as 1st week
3-9 as 2nd week
10-16 as 3rd week
17-23...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 11:41 pm
Here are a couple of more suggestions along with some caveats to watch out for.
http://www.sqlservercentral.com/articles/Test+Data/61572/
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 11:35 pm
What? No pork chops? :hehe:
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 11:27 pm
This is one of the very few places where I'd condone the use of a Trigger. Read about triggers in Books Online.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 11:26 pm
Anitha,
You're probably not getting the help you need just because of the way you posted the data. Take a look at the first link in my signature below to...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 11:15 pm
I'm not sure that you need the ISNULL, Lowell... if "0" isn't a value in the table, NULL will give the same result as "0" because NULL isn't even equal...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 11:12 pm
Sharul Nizam (1/21/2010)
My table and row as follow,
My hat's off to you, Sharul... you really made it easy for folks to help you with the way you posted. Well...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 11:08 pm
lmu92 (1/21/2010)
Why not using a solution that doesn't use any while loops at all and do it all in one path?
Well done, Lutz!
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 11:06 pm
Excellent pod cast and excellent points. To coin a phrase, "Invest in yourself or people will invest in others." 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 10:56 pm
Stephen Fry (1/21/2010)
Thanks for the effort, much appreciated!
What you have though is precisely my point...while I agree that it's not overly complicated, it's certainly "more" complicated, and i would think...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 10:46 pm
Revenant (1/21/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 10:35 pm
Without xp_CmdShell...
EXEC Master.dbo.xp_DirTree 'yourpathhere',1,1
You can use INSERT/EXEC to capture the info in a table if you prebuild the table.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 10:33 pm
Actually, a Cursor or While Loop is just what the doctor ordered here...
Every system has a "tipping" point where it just loses it's mind during an update. A million...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 21, 2010 at 10:31 pm
Viewing 15 posts - 40,171 through 40,185 (of 59,098 total)