Viewing 15 posts - 1,306 through 1,320 (of 2,462 total)
PJ_SQL (7/29/2015)
I have this script, it is taking long time to execute, what can I do to make it execute faster?
DECLARE @c varchar(10)
SET @c = '%A1%'
select *
from...
-- Itzik Ben-Gan 2001
July 29, 2015 at 10:56 pm
Duplicate post - please direct all answers here.
-- Itzik Ben-Gan 2001
July 29, 2015 at 10:37 pm
If the reports are being developed using visual studio I would keep a copy of the solution/project and, yes, it would be a good idea to backup the reportserverdb. I...
-- Itzik Ben-Gan 2001
July 29, 2015 at 10:33 pm
There is also the fundamental way in which larger "cloud" type providers (inside your organization or third parties) can include features or services that reduce the need for DBAs.
I expect...
-- Itzik Ben-Gan 2001
July 23, 2015 at 11:22 am
thenewbee (7/23/2015)
I wanted some experts commenting how to analyze a very...
-- Itzik Ben-Gan 2001
July 23, 2015 at 10:47 am
Yeah, that won't work...
This is something you can accomplish using Dynamic SQL.
-- Itzik Ben-Gan 2001
July 22, 2015 at 9:08 pm
For the life of me I can't think of a scenario why you would not want just a clustered unique index and drop index #2, anyone think of any scenario...
-- Itzik Ben-Gan 2001
July 22, 2015 at 9:06 pm
I bet if you post the plan here that we can take a look at it and get an idea of what is killing your performance.
-- Itzik Ben-Gan 2001
July 22, 2015 at 8:53 pm
Alvin Ramard (7/22/2015)
I vote for either temp table or table variable.
Yep.
-- Itzik Ben-Gan 2001
July 22, 2015 at 5:25 pm
Out of curiosity, has SS array support improved in any way since 2008?
Yep, in 2012 they included CHOOSE.
I never see it used though....
Hmmmm, now I'm curious to how it...
-- Itzik Ben-Gan 2001
July 22, 2015 at 3:53 pm
mak101 (7/2/2015)
How aboutRIGHT(REPLICATE('0',@size) + CAST(@value as varchar(max)),@size)
I was thinking the same thing (maybe not varchar(max) though ;-))
-- Itzik Ben-Gan 2001
July 21, 2015 at 9:09 pm
Some DDL for the tables and underlying objects involved would be helpful. Note the link in my subject line.
Also, could you include the query plan that this query generates?...
-- Itzik Ben-Gan 2001
July 21, 2015 at 8:53 pm
There's nothing attached. Keeping in mind I don't know how values are being assigned to what your stored procs are ingesting you could do something like this:
-- sample table using...
-- Itzik Ben-Gan 2001
July 21, 2015 at 5:42 pm
You are on the right track. SSDT is the new BIDS. Notepad++ is still essential ;-).
My personal opinion is to learn/freshen up on XML; knowing XML has been extremely...
-- Itzik Ben-Gan 2001
July 21, 2015 at 5:31 pm
Unless I'm missing something there's no reason to believe that that the two queries that you posted should return the same number of records.
I wanted to know if maybe we...
-- Itzik Ben-Gan 2001
July 21, 2015 at 5:18 pm
Viewing 15 posts - 1,306 through 1,320 (of 2,462 total)