Viewing 15 posts - 76 through 90 (of 1,228 total)
Alaster07 (10/12/2016)
Correct me if I am wrong, but I am unable to use NEWID() and RAND() functions in UDFs.
Try an inline table-valued function instead.
October 12, 2016 at 2:27 pm
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...
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...
October 6, 2016 at 12:49 pm
Have you tried EXECUTE(querystring) AT linkedservername?
October 6, 2016 at 12:35 pm
wendy elizabeth (10/6/2016)
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...
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 ??
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.
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...
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...
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...
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.
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...
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...
August 18, 2016 at 1:00 pm
CELKO (8/17/2016)
August 17, 2016 at 1:46 pm
Viewing 15 posts - 76 through 90 (of 1,228 total)