Viewing 15 posts - 76 through 90 (of 1,228 total)
wendy elizabeth (10/11/2016)
This not the third time I asked a question. In this question, I found out what the issue is and I want to find a resolution.
Please explain the...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
October 11, 2016 at 2:25 pm
GilaMonster (10/6/2016)
ChrisM@Work (10/6/2016)
GilaMonster (10/6/2016)
Eirikur Eiriksson (10/6/2016)
Using a conditional IF statement is by far the simplest way of doing this.And is prone to the performance-related problems that Chris alluded to.
https://www.simple-talk.com/content/article.aspx?article=2280
We must...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
October 6, 2016 at 12:49 pm
Have you tried EXECUTE(querystring) AT linkedservername?
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
October 6, 2016 at 12:35 pm
wendy elizabeth (10/6/2016)
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
October 6, 2016 at 10:57 am
SQL Server will read all qualifying rows (in this case, ALL of them) then eliminate the nonqualifying rows in either a residual predicate i.e. as rows are read (common and...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
October 4, 2016 at 3:11 pm
The Dixie Flatline (10/4/2016)
Define cascading please. Output from itvf_1 becomes input to itvf_2 ??
http://www.sqlservercentral.com/articles/T-SQL/97545/
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
October 4, 2016 at 2:25 pm
The left-outer-joined derived table (the bottom half of the query) isn't referenced in the outer SELECT, WHERE clause or ORDER BY. You can safely remove it.
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
September 19, 2016 at 10:50 am
Your conditional is faulty. Which row of dbo.emp do you want to check? You need a SELECT in there. Possibly something like
IF NOT EXISTS (SELECT 1 FROM dbo.Emp WHERE...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
September 12, 2016 at 1:51 pm
mw112009 (8/25/2016)
What I need is an expression that will give me the 3 letters that follow the nth occurrence of the key word...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
August 25, 2016 at 2:27 pm
mw112009 (8/25/2016)
I mean in each row how many times does the word fox appear ?
Using a tally table, SUBSTRING(bigstring, 'fox', n) or whatever.
Work it out from there. You'll need to...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
August 25, 2016 at 1:35 pm
paulo.margarido (8/25/2016)
ok, now can we go back to the discussion?
You're confusing the purpose and capabilities of SQL Server with those of Excel.
Use Excel for this.
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
August 25, 2016 at 1:22 pm
Luis Cazares (8/23/2016)
Gail, you just made my day with this answer. http://www.sqlservercentral.com/Forums/FindPost1811748.aspxI can't stop laughing. 😀
On the bus on the way home. Now people I don't even know think I'm...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
August 23, 2016 at 12:43 pm
drew.allen (8/18/2016)
ChrisM@Work (8/18/2016)
-- set up some data to code againstDROP TABLE #MyTable
SELECT *
INTO #MyTable
FROM (
SELECT 123, 1 UNION ALL
SELECT 456, 2 UNION ALL
SELECT 789, 1 UNION ALL
SELECT 789, 2 UNION...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
August 18, 2016 at 1:00 pm
CELKO (8/17/2016)
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
August 17, 2016 at 1:46 pm
Ed Wagner (8/17/2016)
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
August 17, 2016 at 1:16 pm
Viewing 15 posts - 76 through 90 (of 1,228 total)