Viewing 15 posts - 1 through 15 (of 18 total)
The query to extract the plan cache fails when there is an offline database on the server.
October 30, 2013 at 12:34 am
There's a saying:
"Don't blame the tool, blame the fool behind the tool".
April 22, 2013 at 2:39 am
My years of systems development really comes in handy. Whenever I need to do something, my first thought is " automate". Next is how do I replicate this procedure(s).
CMS helps...
June 6, 2012 at 12:35 am
I never really thought about it that way, but it is so true.
Being a DBA can sometimes be outright boring and that's why I still do programming on top...
March 28, 2012 at 12:53 am
I find the biggest constraints to be time and available hardware. One would also need a sample database(s) just to speed things up.
Replication, Failover technologies and disaster recovery all needs...
October 4, 2011 at 12:16 am
For me, it must be lack of proper design.
A program, database, network all need a proper design.
Whatever happened to "back to the drawing board", and I mean a real drawing...
September 23, 2011 at 7:02 am
Just do another restore with the "Move file" option. Alternatively you can do a restore from any other DB backup, just to get the database back to a usable state...
September 21, 2011 at 12:01 am
This is basicaly the concatenation of strings (like a sum for numeric).
An alternative could be:
declare @tblNames table([Name] varchar(100))
insert @tblNames values ('Lucian')
insert @tblNames values ('Terry')
insert @tblNames values ('Jane')
select SUBSTRING((SELECT ',' +...
January 10, 2011 at 4:25 am
I have script that generate DML stored procs for all tables. This will help me generate even more code, if only the C# script is available. Please fix the link
October 10, 2008 at 4:30 am
bhovious (8/25/2008)
Here is some code for doing parsing using a tally table. We usually have a pre-generated one in each db, but this code will run...
August 26, 2008 at 12:16 am
bhovious (8/22/2008)
August 25, 2008 at 12:23 am
WayneS (8/22/2008)
lucian (8/22/2008)
I would like to think that both these methods have a place in a code library and can be used where applicable
I agree. And that's a pretty interesting...
August 22, 2008 at 7:35 am
For what it's worth try this method.
--Create a Tally table. Just a table that hold a big number of integer numbers (100000 in this case)
use AdventureWorks
DECLARE @StartTime DATETIME ...
August 22, 2008 at 12:47 am
WayneS (8/21/2008)
lucian (8/21/2008)
I use it to process a comma delimited list of keys or any other list of values that is passed as a parameter to a stored proc.
Now...
August 21, 2008 at 6:36 am
Viewing 15 posts - 1 through 15 (of 18 total)