Viewing 15 posts - 1 through 15 (of 56 total)
Exactly my YMMV point (your mileage may vary).
Regards, Dave.
December 14, 2016 at 2:31 pm
My favourite! 🙂
Declare @SomeField varchar(100)
Declare @SomeVariable varchar(100)
If @SomeField = 'ConditionA'
Select 'It was A'
Else
Begin
Select 'Use the Begin-End for...
December 14, 2016 at 4:17 am
We looked at Robocopy and Powershell here and tried various implementations but found them not totally 100% reliable and secure.
In the end we went with a third party product called...
December 14, 2016 at 3:43 am
Thanks. Great article and script.
Just one question, is there a way to do this without revealing the users password in the script or in the run command if...
September 23, 2016 at 3:41 am
Great little article Orlando. And a nice neat trick for what I find is a common requirement.
</ soapbox on
It's just a shame that Microsoft don't have a single command...
March 23, 2016 at 3:42 am
Were you only bothered about the 3 stored procedures in the database? Did the database not hold any data??
You better get some daily backups set up quickly.... 🙂
Rdgs, Dave.
February 24, 2015 at 4:31 am
So, each Heap has 16 columns that will include player info such as Account#, first, last, dob, address, and then the rest that are regarding their play that includes number...
February 24, 2015 at 4:23 am
Sometimes I find it better to kill the client rather than kill the query.
🙂
(I loved Gail's restraint on her second reply.....)
February 9, 2015 at 4:25 am
Nice clear example Sioban. Thanks. I frequently come across clients who have unintended duplicates in their tables. Data cleansing is a major part of the ETL process in some organisations.
Rgds,...
January 27, 2015 at 8:27 am
bartedgerton (10/8/2013)
Here is my full query to list all DDL changes:
ALTER PROCEDURE [dbo].[SchemaChangesToday]
@dbName VARCHAR(128) = NULL
AS
BEGIN
DECLARE @filename nvarchar(1000);
-- Get the name...
May 8, 2014 at 7:16 am
You could look for the query on the server to try and identify what table it was accessing.
For example, if you have Windows Server 2008 then you can...
February 13, 2014 at 8:13 am
Yes I agree Excel is not good for enterprise solutions.
</vent on> However, Access is even worse.....!!! </vent over....>
🙂
January 21, 2014 at 3:27 pm
Koen Verbeeck (11/27/2013)
Indeed. Visitors should register at the reception and give up their license plate. If a car is on the visitors parking space and it has not been registered,...
November 27, 2013 at 2:44 pm
Cracking article Joshua....
🙂
September 24, 2013 at 8:23 am
For faster deletes have you tried repeating the from piece?
For example, in your original post, change this:
>>>>>>>>>>>>>>>>>>>
/* Delete the data */
DELETE TOP (@BatchSize) FROM MyDB.dbo.DoDetailTxns
WHERE StatementID IN (SELECT StatementID...
January 11, 2013 at 4:08 am
Viewing 15 posts - 1 through 15 (of 56 total)