Viewing 15 posts - 4,996 through 5,010 (of 8,416 total)
The best guide I have seen for 2005 is the following White Paper from Microsoft:
March 20, 2010 at 2:41 pm
Another point on hints, from Books Online:
Omitting the WITH keyword is a deprecated feature: This feature will be removed in a future version of Microsoft SQL Server. Avoid using this...
March 20, 2010 at 2:37 pm
The following article by Kent Tegels for MSDN magazine is aimed at hierarchyid in 2008, but does have a section of BOMs in 2005. In any case, you might...
March 20, 2010 at 2:31 pm
Needs some refining, but essentially sound, and very fast:
DECLARE @string VARCHAR(4000);
SET @string = SPACE(1) + 'here is some text for testing this code';
WITH ...
March 20, 2010 at 2:19 pm
Lynn Pettis (3/20/2010)
Okay. Clears things up, amazing what "pictures" will do.
No worries 🙂
Good luck with the tax calculations!
March 20, 2010 at 2:06 pm
Now I have had to go actually run those scripts 😉
As written, both AGENT_DATA2 and AGENT_DATA2_ARCH are created as non-partitioned. Both are created on PRIMARY, and so are the...
March 20, 2010 at 2:04 pm
Lynn Pettis (3/20/2010)
March 20, 2010 at 1:40 pm
vidya_pande (3/17/2010)
Copy 5 Million records to another dummy or staging table.
Truncate the original table.
And then copy 5 Million rows from Dummy table to original...
March 20, 2010 at 1:14 pm
Brandie Tarvin (3/17/2010)
March 20, 2010 at 1:13 pm
CirquedeSQLeil (3/20/2010)
Anti Nolock Association League
Highly amusing.
March 20, 2010 at 1:05 pm
Lynn Pettis (3/20/2010)
March 20, 2010 at 1:04 pm
Peter Brinkhaus (3/20/2010)
March 20, 2010 at 10:43 am
...nolock is a free lunch.
Again, I blame the name.
All new DBAs 'know' that blocking and deadlocking are bad (:doze:). Blocks and deadlocks are caused by locks. Locks are...
March 20, 2010 at 10:40 am
You might want to check that over Lynn 😉
The boolean logic expression is correct, but the code isn't...!
Usually we use this trick to transform ORs into ANDs, not the other...
March 20, 2010 at 10:37 am
Peter Brinkhaus (3/20/2010)
Sorry, Paul. But your solutions looks interesting. I have never used Hierarchyid before, so that leaves me something to study on.
Ha! No worries - I should have...
March 20, 2010 at 10:33 am
Viewing 15 posts - 4,996 through 5,010 (of 8,416 total)