Viewing 15 posts - 3,241 through 3,255 (of 8,731 total)
Ed Wagner (3/3/2016)
Revenant (3/3/2016)
Grumpy DBA (3/3/2016)
djj (3/3/2016)
HappyGeek (3/3/2016)
Das bootSubmarine
Sammich
Bun
Big Bun (I hope someone remembers the reference)
Big Ben (I didn't :-D)
March 3, 2016 at 12:52 pm
Use a CTE or derived table to generate the LEAD and LAG before filtering.
March 3, 2016 at 11:27 am
You can't execute a result set, you need to assign the text into a variable. Please, be very careful with SQL injection as this could be a recipe for disaster...
March 3, 2016 at 11:17 am
Here's an example on how to work with iTVFs, actually 2.
For more information about iTVFs and how they compare with normal scalar functions, check this article written by Jeff: http://www.sqlservercentral.com/articles/T-SQL/91724/
Here...
March 3, 2016 at 11:10 am
Why are you doing that when you can do this
DECLARE @templogin NVARCHAR(128);
Set @templogin='domain\user1';
exec [DBA].[dbo].[CopyAllLoginsUsers] @loginholder= @templogin;
Especially when using NVARCHAR(MAX), you're exposed to SQL injection.
Use parametrized queries whenever possible. For...
March 3, 2016 at 9:52 am
djj (3/3/2016)
Ed Wagner (3/3/2016)
Grumpy DBA (3/3/2016)
djj (3/3/2016)
ThomasRushton (3/3/2016)
Ed Wagner (3/3/2016)
BWFC (3/3/2016)
LuckSkill
Rich
Poor
Pour
Pitcher
Baseball!
Beer
March 3, 2016 at 8:01 am
People who say that Oracle is the future are probably people that already work with Oracle or just got certified on Oracle. The truth is that I'd have more confidence...
March 3, 2016 at 7:30 am
Phil Parkin (3/2/2016)
Luis Cazares (3/2/2016)
Hugo Kornelis (3/2/2016)
That...
March 2, 2016 at 1:22 pm
Hugo Kornelis (3/2/2016)
That tool is specifically built...
March 2, 2016 at 1:05 pm
Did you see this thread?
http://www.sqlservercentral.com/Forums/Topic1765816-2799-1.aspx
March 2, 2016 at 12:13 pm
Thanks for posting, Gary.
I understand why Hugo couldn't be sure of the legitimacy of your post. Just add a few words when sharing this valuable links to give some certainty....
March 2, 2016 at 9:00 am
Why don't you store the pattern in a different table so you can just replicate it any times you need?
March 1, 2016 at 10:09 am
I'm not really sure how to do it, but you're basically facing the migration from xml files to sql scripts. If you're able to convert the xml into relational data,...
March 1, 2016 at 9:49 am
Here's an option that could help you achieve your goal. I'm not posting the full solution so you need to understand what's going on.
WITH
cteRows AS(
SELECT...
March 1, 2016 at 8:56 am
Here's an article by Dwain Camps in which he explains how to use percentiles in versions previous to 2012. https://www.simple-talk.com/sql/t-sql-programming/using-the-t-sql-percentile-analytic-functions-in-sql-server-2000,-2005-and-2008/
If anyone wants to give it a shot, here's the sample...
February 29, 2016 at 12:23 pm
Viewing 15 posts - 3,241 through 3,255 (of 8,731 total)