Viewing 15 posts - 21,226 through 21,240 (of 22,202 total)
Just understand that, depending on the stored procedure in question, the performance increase will be miniscule or incredibly huge. The simplest of simple insert statements, for example, going to a...
January 16, 2008 at 6:30 am
Seperate the databases and provide a service (Service Oriented Architecture, SOA) that pulls the data from X in order to feed it to Y, through the applications, not through the...
January 16, 2008 at 6:24 am
I sure can't tell you. I white list your stuff about once or twice a month because it keeps getting flagged.
January 16, 2008 at 5:36 am
When you say "somewhat changed" what exactly?
Have you updated statistics or, better still, rebuilt your indexes in recent memory?
January 16, 2008 at 5:35 am
Congrats again then.
And a WOO HOO to go with it.
:w00t:
January 16, 2008 at 5:33 am
Oh yes, Profiler and Perfmon. They can do more for you than almost any third party tool.
Set up Profiler to run by script (look up sp_trace_create & sp_trace_setevent among others)...
January 15, 2008 at 1:28 pm
Another vote for Visual Studio. Hook it into source control and then you get versions of your scripts too. Very handy when one of them suddenly breaks for no apparent...
January 15, 2008 at 12:34 pm
In addition to what Matt Miller is suggesting, you might verify that the data types of the parameters is the same as the data types of the columns. If you're...
January 15, 2008 at 12:33 pm
You have to understand, BOL is my best friend because I'm too darned stupid to remember stuff.
January 15, 2008 at 8:28 am
Oh, that's likely to be a bit tougher then. I'm not sure how you'd do this in 7.0 (haven't touched it in years and years).
January 15, 2008 at 7:12 am
Just note, it's 'sys.databases' not 'sysdatabases'. You need to get in the habit of looking at the catalog views, not the 2000 system tables.
January 15, 2008 at 7:03 am
You can use parameters within sp_executesql. Those parameters can be output parameters. You can set those values within the ad hoc query and output them from there and then set...
January 15, 2008 at 7:00 am
Probably a completely inadequate solution... but I wanted a little experiment this morning:
CREATE TABLE #DBList(DBName NVARCHAR(100))
DECLARE @Tablename NVARCHAR(100)
DECLARE @Tsql NVARCHAR(MAX)
DECLARE @DBName NVARCHAR(100)
DECLARE Cur CURSOR FOR
SELECT NAME
FROM [sys].databases;
SET @Tablename =...
January 15, 2008 at 6:52 am
I got them, but both were tagged as potential spam by our filter. Maybe that's where yours are?
January 15, 2008 at 6:11 am
AND, can't believe I forgot this, you need to look at the selectivity of the data in those columns to be sure an index will work well.
January 14, 2008 at 12:28 pm
Viewing 15 posts - 21,226 through 21,240 (of 22,202 total)