Viewing 15 posts - 2,836 through 2,850 (of 8,731 total)
Some tools available are Redgate's SQL Prompt, ApexSQL Refactor and Poor Man's T-SQL Formatter.
I use the 2 latest because they're free, but I know that SQL Prompt has more capabilities....
May 19, 2016 at 8:31 am
This will allow to handle multiple occurrences. It uses a pattern splitter that is explained in here: http://www.sqlservercentral.com/articles/String+Manipulation/94365/
And string concatenation explained in here: http://www.sqlservercentral.com/articles/comma+separated+list/71700/
SELECT *,
LTRIM((SELECT CASE...
May 19, 2016 at 8:04 am
matthewjamesnel (5/19/2016)
a
a
/a,?/
determiner
1.
used when referring to someone or something for the first time in a text or conversation.
"a man came out of the room"
2.
used to indicate membership of a class of...
May 19, 2016 at 7:48 am
Greg Edwards-268690 (5/19/2016)
Brandie Tarvin (5/19/2016)
GilaMonster (5/19/2016)
Lynn Pettis (5/18/2016)
Found this on my Facebook newsfeed: https://www.packtpub.com/packt/offers/data-week-2016.
Oooh. Am very tempted to grab both the R and the Data bundles.
The free book yesterday (Machine...
May 19, 2016 at 7:46 am
Similar to what Lowell already posted, but leaving values as variables.
DECLARE @A AS INT = 1;
DECLARE @b-2 AS INT = 1;
DECLARE @Parameter1 AS INT;
DECLARE @Parameter2 AS INT;
DECLARE @Parameter3 AS INT;
DECLARE...
May 18, 2016 at 12:09 pm
Ray K (5/18/2016)
Luis Cazares (5/17/2016)
May 18, 2016 at 10:16 am
Try to format your code. You'll thank yourself later.
ALTER VIEW dbo.ViewName
AS
SELECT t001.ScenarioID
,t001.accountnum
,t001.ACCOUNTNAME
,t001.dimension
,t001.GroupID
...
May 17, 2016 at 12:38 pm
Ed Wagner (5/17/2016)
djj (5/17/2016)
Ed Wagner (5/17/2016)
Revenant (5/17/2016)
ZZartin (5/17/2016)
HappyGeek (5/17/2016)
yb751 (5/17/2016)
Ed Wagner (5/17/2016)
Luis Cazares (5/17/2016)
ThomasRushton (5/17/2016)
crookj (5/17/2016)
Ray K (5/17/2016)
DonlSimpson (5/17/2016)
FillingPie
Banana (cream)
Split
Van Damme
Bloodsport
Action
Movie
Silver
Dollar
Pancake
Waffle
Syrup
Maple
May 17, 2016 at 12:28 pm
This is sad, because this Saturday is my wife's birthday and SQL Saturday #521 in Atlanta. She wouldn't enjoy if I leave her the whole day by herself.
May 17, 2016 at 11:11 am
Steve Jones - SSC Editor (5/17/2016)
Brandie Tarvin (5/17/2016)
I am really really beginning to hate Data Tools. Anyone with SSIS 2012 experience willing or able to comment on this problem?
What are...
May 17, 2016 at 10:53 am
ThomasRushton (5/17/2016)
crookj (5/17/2016)
Ray K (5/17/2016)
DonlSimpson (5/17/2016)
FillingPie
Banana (cream)
Split
Van Damme
May 17, 2016 at 10:03 am
SQLKnowItAll (5/17/2016)
Luis Cazares (5/17/2016)
Are we all aware that SQL Server includes the STDEV and VAR functions?Other than the nulls being ignored, it should be easier to use.
1. I...
May 17, 2016 at 9:50 am
Thank you, I'm checking if we can actually configure Kerberos adequately to fix this issue.
For using config files, we would be using package deployment or file system instead of the...
May 17, 2016 at 8:03 am
Are we all aware that SQL Server includes the STDEV and VAR functions?
Other than the nulls being ignored, it should be easier to use.
May 17, 2016 at 7:38 am
Brandie Tarvin (5/16/2016)
Is this package an older one that is just now being upgraded to SQL 2012 or is it a new...
May 16, 2016 at 11:41 am
Viewing 15 posts - 2,836 through 2,850 (of 8,731 total)