Viewing 15 posts - 796 through 810 (of 7,164 total)
TRY_PARSE is the first place my mind went as well. A long-overdue feature of T-SQL. I rolled my own for 2008 using SQLCLR which I use within check constraints to...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
November 20, 2013 at 9:47 pm
Jeff Moden (11/20/2013)
Tell me how you can stop an SA from getting to the command prompt through SQL Server? You can't.
You can achieve it through the use of WMI....
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
November 20, 2013 at 8:57 pm
Jeff Moden (11/20/2013)
opc.three (11/19/2013)
Jeff Moden (11/5/2013)
SQLRNNR (11/5/2013)
Jeff Moden (11/5/2013)
Heh... I had to think about it. For me, the correct answer would have started with "Exec xp_CmdShell". 😀not sp_configure??
:w00t::-D
Heck no....
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
November 20, 2013 at 4:03 pm
jobudzin (11/20/2013)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
November 20, 2013 at 9:35 am
Jeff Moden (11/5/2013)
SQLRNNR (11/5/2013)
Jeff Moden (11/5/2013)
Heh... I had to think about it. For me, the correct answer would have started with "Exec xp_CmdShell". 😀not sp_configure??
:w00t::-D
Heck no. I leave...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
November 19, 2013 at 2:17 pm
TaylorMade (11/13/2013)
badOedipus (4/26/2013)
I'm not sure how far back this goes, but...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
November 14, 2013 at 6:32 am
Nice question. We just went the route of genericizing some scripts using sqlcmd and having access to it within SSMS is a nice feature for developing those. Best of both...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
November 12, 2013 at 12:11 am
The WMI query uses a wildcard so it will find files named with a datestamp. See LIKE 'BusinessData%'
SELECT *
FROM __InstanceCreationEvent WITHIN 5
WHERE TargetInstance ISA 'CIM_DataFile'
AND TargetInstance.Drive...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
November 5, 2013 at 9:06 am
The WMI Event Watcher can present us with some seemingly unpredictable behavior. It is true that renaming a file to satisfy the mask will not cause the event to fire....
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
November 5, 2013 at 9:02 am
Please post your query.
And if possible, script out your entire database including statistics and histograms. Here is a walkthrough on how to do that[/url].
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
November 1, 2013 at 10:46 pm
Very cool! Did you ever look into using Service Broker (SB)? I am sure there is much more nuance to the system and what it provides than what you cold...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
October 30, 2013 at 10:35 pm
Carl Waitz (10/25/2013)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
October 30, 2013 at 9:37 pm
Staging tables are fine but they don't buy you much if you're eventually having to load into the final table anyway. If your dataset is clean reliable or you have...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
October 29, 2013 at 4:54 pm
Minaz (10/28/2013)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
October 28, 2013 at 9:49 pm
There are no hard and fast rules for this. You must test. It will depend on many variables. How many indexes do you have? How wide are they? What order...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
October 25, 2013 at 1:27 am
Viewing 15 posts - 796 through 810 (of 7,164 total)