Viewing 15 posts - 916 through 930 (of 2,458 total)
Here's some code to get you started. Note my comments:
-- Two variables designed to emulate your XML files
DECLARE @emp XML =
'<?xml version="1.0" encoding="utf-8"?>
<EmployeeDetails RunDate="2016-03-07">
<Employees EmployeesCount="3">
...
March 21, 2016 at 8:31 pm
VoldemarG (3/21/2016)
it is an obvious practice not to implement them all. What is one most important criteria
is...
March 21, 2016 at 8:04 pm
The SQL world is like the Wild West. I have stories similar to everyone on this thread and have also been interviewed by idiots. I'll offer some advice to people...
March 21, 2016 at 7:09 pm
Mad-Dog (3/21/2016)
i'm using sql server 2008 R2 sp3 and i have some weird issue with some queries. every few days some of my query become very slow.
if i clean the...
March 21, 2016 at 6:38 pm
-- Sample values in a table
DECLARE @repository TABLE(someid int, string varchar(100));
INSERT @repository VALUES (1,'WebApp - 10148'),(2,'Smart - App - 1458'),(3,'No Number - here');
-- Solution if there's always a number
SELECT String,...
March 21, 2016 at 5:42 pm
I'm a fan of disabling the SA account and using a SQL account with a different name if I need a SQL account with elevated privileges.
In addition to what...
March 21, 2016 at 2:43 pm
You can't do what Luis suggested because you can't COUNT(DISTINCT) with an OVER clause.
That said, you may want to try to do the aggregations in SSRS because the is...
March 21, 2016 at 2:33 pm
drew.allen (3/21/2016)
Eirikur Eiriksson (3/21/2016)
kuopaz (3/21/2016)
March 21, 2016 at 11:57 am
yb751 (3/21/2016)
SQLRNNR (3/21/2016)
Brandie Tarvin (3/21/2016)
Lynn Pettis (3/21/2016)
March 21, 2016 at 10:19 am
Any CLR savvy people want to take a look at this? http://www.sqlservercentral.com/Forums/Topic1766573-3412-1.aspx
Solomon Perhaps?
March 21, 2016 at 9:13 am
fxferguson (3/4/2016)
The CLR assemblies I'm trying to deploy performs a lot of external file manipulation. I attempted to use them on a 2014 server and they would bomb. The...
March 21, 2016 at 9:11 am
Ed Wagner (3/11/2016)
Alan, I stand corrected. I've never seen it done this way. I learned something new, so thank you.
Sorry for the late reply Ed (I was away...
March 21, 2016 at 9:01 am
Jack Corbett (3/21/2016)
Alan.B (3/21/2016)
March 21, 2016 at 8:44 am
Quick question: I got the standard email saying that someone replied to a comment on one of the forum threads but when I go to that thread the comment is...
March 21, 2016 at 8:07 am
quagmired (3/20/2016)
March 20, 2016 at 10:04 pm
Viewing 15 posts - 916 through 930 (of 2,458 total)