Viewing 13 posts - 46 through 59 (of 59 total)
I am lazier: 😉
declare @q varchar(1) = CHAR(39)
July 11, 2014 at 6:24 am
An Irish syndrome - introducing Mr and Mrs O'Brien 😎
Well, apostrophe was at least something you could predict and prevent - as soon as you knew it...
July 11, 2014 at 4:03 am
Yes, I agree - but you could use a wrapper SP to catch an exception (RUSSIAN DOLLs model :-))
April 17, 2014 at 4:00 am
Thank you for a great article!
I am not quite agree with this statement "SQL Server has no specific functions or methods for validating XML".
How about strongly typed XML parameter...
April 17, 2014 at 3:23 am
Well done,
I had a similar challenge during data migration, my solution was by splitting character-delimited values with XQUERY and applying transformation across a whole table.
November 1, 2013 at 1:21 am
Geoff A (7/19/2013)
fregatepallada (7/19/2013)
-- Current date
DECLARE @d DATETIME = GETDATE();
SELECT FORMAT( @d, 'dd MMM yyyy', 'en-US' ) AS...
July 19, 2013 at 6:21 am
Bruce W Cassidy (3/2/2013)
March 3, 2013 at 6:17 am
Sean Lange (3/1/2013)
Jeff Moden (3/1/2013)
Sean Lange (3/1/2013)
Irozenberg 1347 (3/1/2013)
Radically improve performance.
If you like fancy coding you could pass XML as
parameter and use XQUERY....
March 1, 2013 at 5:04 pm
Elementary sub-query or EXISTS clause would
Radically improve performance.
If you like fancy coding you could pass XML as
parameter and use XQUERY.
March 1, 2013 at 3:28 am
IMHO dynamic SQL outside of database is a recepie for a disaster.
Anybody hear about SQL injection in last 15+ years?
Why not use parameterised stored procedures/user-defined functions.
I would...
January 13, 2013 at 3:16 pm
Why we have to be inventive and create such acrobatic solution in a first place? Just to compensate for bad design and implementation decisions.
If original DB developers did not...
November 29, 2012 at 2:41 pm
Speaking of garbage in - garbage out. In case when I have to split a CSV into a list of items I spend at least one hour trying to understand...
November 4, 2012 at 2:53 pm
RIP Mars Climate Orbiter(formerly the Mars Surveyor '98 Orbiter)
The metric mixup error
The MCO MIB has determined that the root cause for the loss of the MCO spacecraft was the failure...
October 28, 2012 at 12:13 am
Viewing 13 posts - 46 through 59 (of 59 total)