Viewing 15 posts - 2,416 through 2,430 (of 5,393 total)
Vishal.Gajjar (10/27/2011)
Generally, When a statement is used inside a stored procedure, it's not going to change and...
-- Gianluca Sartori
October 27, 2011 at 4:11 am
ChrisM@Work (10/27/2011)
Gianluca Sartori (10/27/2011)
Strange coincidence!...
Nah - you're strange, I'm a coincidence 😛
:hehe: Quite right.
-- Gianluca Sartori
October 27, 2011 at 4:07 am
Strange coincidence!
-- Gianluca Sartori
October 27, 2011 at 3:43 am
I think that the misinformation comes from good advice that turned into bad advice with new SQLServer versions.
In SQL Server 2000 we did not have "plan cache", there was just...
-- Gianluca Sartori
October 27, 2011 at 3:35 am
jcrawf02 (10/26/2011)
missed a couple user group meetings I meant to get to (online), would...
-- Gianluca Sartori
October 27, 2011 at 1:17 am
Great question, Paul, and great explanation.
Looks like you tricked most of us (myself included).
-- Gianluca Sartori
October 27, 2011 at 1:13 am
WayneS (10/26/2011)
SQLRNNR (10/26/2011)
WayneS (10/26/2011)
SQLRNNR (10/26/2011)
Congrats to Wayne for winning the TSQL Challenge
Thanks Jason.
Like I said in my blog[/url], I only submitted the winning entry... SQL Server 2012 is the winner...
-- Gianluca Sartori
October 26, 2011 at 4:06 pm
GilaMonster (10/26/2011)
BrainDonor (10/26/2011)
GilaMonster (10/26/2011)
BrainDonor (10/26/2011)
-- Gianluca Sartori
October 26, 2011 at 4:03 pm
Another possible solution:
DECLARE
@Param1 varchar(50),
@Param2 varchar(50),
@Param3 varchar(50),
@Param4 varchar(50),
@Param5 varchar(50),
@Param6 varchar(50),
@Param7 varchar(50),
@Param8 varchar(50),
@Param9 varchar(50),
@Param10 varchar(50)
SELECT
@Param1 = NULL,
@Param2 = 'Value1',
@Param3 = NULL,
@Param4 = NULL,
@Param5 = 'Value2',
@Param6 = NULL,
@Param7 = NULL,
@Param8 = NULL,
@Param9...
-- Gianluca Sartori
October 26, 2011 at 6:27 am
MysteryJimbo (10/26/2011)
Gianluca Sartori (10/26/2011)
However, you could try to issue DBCC FREESYSTEMCACHE('All') before shrinking. This flushes the system cache,...
-- Gianluca Sartori
October 26, 2011 at 3:40 am
Ninja's_RGR'us (10/25/2011)
What's wrong with msforeachdb?
Well, something, actually.
You could use Aaron Bertrand's replacement[/url] or my humble attempt[/url].
-- Gianluca Sartori
October 26, 2011 at 2:34 am
I agree that shrinking tempdb may not be is not a good idea.
However, you could try to issue DBCC FREESYSTEMCACHE('All') before shrinking. This flushes the system cache, including internal objects...
-- Gianluca Sartori
October 26, 2011 at 2:23 am
Is that a limitation in the ASP code?
In SQLServer, under many circumnstances, views are updateable, so it would be no problem.
-- Gianluca Sartori
October 24, 2011 at 7:52 am
I've never used scaffolding and I'm not sure what to suggest. If it was my application, I would use a view to retrieve the aditional column and expose the view...
-- Gianluca Sartori
October 24, 2011 at 6:03 am
Konstantin Konstantinov (10/23/2011)
-- Gianluca Sartori
October 24, 2011 at 2:00 am
Viewing 15 posts - 2,416 through 2,430 (of 5,393 total)