Viewing 15 posts - 1,141 through 1,155 (of 15,381 total)
Somebody has to mention that you should never end up in this situation in the first place because nested views are a performance timebomb.
November 11, 2016 at 9:55 am
Phil Parkin (11/11/2016)
Eirikur Eiriksson (11/11/2016)
😎
Not certain how to read these requirements.
I'm not sure for how many more years...
November 11, 2016 at 9:51 am
coool_sweet (11/9/2016)
i have 1 table like this
table A
Product_ID name desc
123 ...
November 9, 2016 at 9:42 am
Jeff Moden (11/6/2016)
jasona.work (11/2/2016)
Luis Cazares (11/2/2016)
That...
November 7, 2016 at 7:07 am
Please don't cross post. It just confuses things.
the original question is here. http://www.sqlservercentral.com/Forums/Topic1831422-3739-1.aspx
November 3, 2016 at 7:35 am
Grant Fritchey (11/2/2016)
jasona.work (11/2/2016)
Luis Cazares (11/2/2016)
That...
November 2, 2016 at 12:01 pm
This kind of query is going to return so many false positives I would think it would be more efficient to simply make a list of every procedure, view, function...
November 2, 2016 at 7:33 am
ps_vbdev (11/1/2016)
November 1, 2016 at 10:10 am
jasona.work (10/31/2016)
Ed Wagner (10/31/2016)
Sean Lange (10/31/2016)
jasona.work (10/31/2016)
ChrisM@Work (10/31/2016)
Sean Lange (10/31/2016)
ChrisM@Work (10/31/2016)
Sean Lange (10/31/2016)
Ed Wagner (10/31/2016)
ThomasRushton (10/31/2016)
Wryan138 (10/30/2016)
October 31, 2016 at 1:36 pm
jasona.work (10/31/2016)
ChrisM@Work (10/31/2016)
Sean Lange (10/31/2016)
ChrisM@Work (10/31/2016)
Sean Lange (10/31/2016)
Ed Wagner (10/31/2016)
ThomasRushton (10/31/2016)
Wryan138 (10/30/2016)
So in lieu of some marvelous SQL wizardry, I'm just trying to help out a little.Wayne
Welcome aboard. I...
October 31, 2016 at 12:40 pm
Luis Cazares (10/31/2016)
SELECT TOP 1 *
FROM(
SELECT TOP 1
CONCAT(i.BatchId,+'_'+ i.Company+'_',ltrim(rtrim(i.[Accounting Period]))+'_nondlo.saf')
, 1
...
October 31, 2016 at 8:42 am
Here is one way you can force it to always return a single row.
select top 1
CONCAT(i.BatchId,+'_'+ i.Company+'_',ltrim(rtrim(i.[Accounting Period]))+'_nondlo.saf')
, 1 as SortOrder
FROM [Havebury].[RepairInvoice].[RepairInvoiceNONDLO] i
UNION ALL
select 'None'
, 2
order by SortOrder
October 31, 2016 at 8:15 am
TSQL Tryer (10/31/2016)
I have the following -
SELECT
CASE
WHEN EXISTS ( SELECT CONCAT(i.BatchId,+'_'+ i.Company+'_',ltrim(rtrim(i.[Accounting Period]))+'_nondlo.saf')
...
October 31, 2016 at 7:58 am
ChrisM@Work (10/31/2016)
Sean Lange (10/31/2016)
Ed Wagner (10/31/2016)
ThomasRushton (10/31/2016)
Wryan138 (10/30/2016)
So in lieu of some marvelous SQL wizardry, I'm just trying to help out a little.Wayne
Welcome aboard. I must admit, I do...
October 31, 2016 at 7:31 am
Viewing 15 posts - 1,141 through 1,155 (of 15,381 total)