Viewing 15 posts - 18,616 through 18,630 (of 59,072 total)
sqlquaker (1/13/2016)
http://sqlperformance.com/2012/07/t-sql-queries/split-strings
Also check out...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 14, 2016 at 6:43 am
BWFC (1/14/2016)
I can't believe I didn't think of using the Tally table method. I've...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 14, 2016 at 6:19 am
Orlando Colamatteo (1/13/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 14, 2016 at 6:16 am
cycle90210 (1/14/2016)
I think there are 2 real ways to address this:
...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 14, 2016 at 6:13 am
nimmusuya (1/13/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 13, 2016 at 6:16 pm
srinivas.akyana (1/13/2016)
I need to automate a service restart on a Server A...
WHY? What is going wrong where you think you need to do this?
--Jeff Moden
Change is inevitable... Change for the better is not.
January 13, 2016 at 5:44 pm
Jacob Wilkins (1/13/2016)
Not directly, no. FILLFACTOR is not an option for single partition rebuilds https://msdn.microsoft.com/en-us/library/ms188388.aspx.You could try to achieve this indirectly using the method in Thomas Kejser's answer here: http://dba.stackexchange.com/questions/86588/shrinking-old-partitions
Cheers!
Use...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 13, 2016 at 11:55 am
Heh... "All that is "better" might not be".
Oddly enough, the "old" method of using partitioned VIEWS allows you to do exactly want you want.
This might also be a good...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 13, 2016 at 11:47 am
Steve Jones - SSC Editor (1/13/2016)
delimiter.
You can look for...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 13, 2016 at 9:27 am
Ok. Here's the equivalent solution to your While Loop. The dbo.fnTally function makes it child's play and requires very little typing especially compared to a While Loop solution.
You...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 13, 2016 at 8:29 am
Pun intended... it's "time" that you built something like the following function into your databases.
CREATE FUNCTION [dbo].[fnTally]
/**********************************************************************************************************************
Purpose:
Return a column of BIGINTs from @ZeroOrOne up to and including...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 13, 2016 at 8:11 am
One possible work around for the problem that Gail has identified is to replace the SQL in the IF blocks with dynamic SQL, which is not parsed until it's executed.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 13, 2016 at 8:04 am
I find the "Build or Buy" question to be quite the problem. Yes, I absolutely agree with what was stated in the "If you build it, they will complain"...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 13, 2016 at 7:58 am
Orlando Colamatteo (1/12/2016)
Where it will have trouble is if the header and detail lines need to have different lengths which is why I asked the OP for the file-descriptor info.
Agreed....
--Jeff Moden
Change is inevitable... Change for the better is not.
January 13, 2016 at 7:25 am
Sergiy (1/12/2016)
Jeff Moden (1/12/2016)
Orlando Colamatteo (1/12/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 12, 2016 at 9:40 pm
Viewing 15 posts - 18,616 through 18,630 (of 59,072 total)