Viewing 15 posts - 1,486 through 1,500 (of 5,394 total)
If you have no control over the release process, at least you could apply the changes to a test environment before going live. If it breaks the replication in test,...
August 9, 2012 at 2:28 am
SQL Server uses as much memory as it can. It's a normal behaviour.
If you have other processes running on the server and you need to allocate memory to them, you...
August 9, 2012 at 2:24 am
Confirmed.
UNIQUE and PRIMARY KEY constraints must be enforced by a UNIQUE index.
August 9, 2012 at 2:18 am
sql-noob (8/9/2012)
thanks for the help! 🙂
You're welcome.
Glad I could help
August 9, 2012 at 2:12 am
Have you tried using variables instead of parameters?
Another option would be OPTION RECOMPILE on the statement or WITH RECOMPILE on the procedure. I don't remember exactly when it was fixed,...
August 9, 2012 at 2:12 am
I'm glad you sorted it out.
However, if it is a 32 bit server, you won't be able to use more than 3 GB of RAM without AWE enabled. Is that...
August 9, 2012 at 2:03 am
We would need table scripts, sample data and expected results to give a sensible answer. See the first article linked in my signature line if you're in doubt.
Without any of...
August 8, 2012 at 9:31 am
DBCC SHOWCONTIG is your only option in SQL 2000.
This code fragment should help you setting up the procedure:
IF OBJECT_ID('tempdb..#contig') IS NOT NULL DROP TABLE #contig;
CREATE TABLE #contig (
DatabaseName NVARCHAR(128)...
August 8, 2012 at 9:20 am
I'm pretty sure you didn't change only xp_cmdshell from 0 to 1, but you (or somebody else before you) changed AWE from 0 to 1.
In order to use AWE, you...
August 8, 2012 at 7:05 am
Database Mail cannot process read receipts.
You could put some sort of hack in place, like including an image in the message body, with a link to your website. Most email...
August 8, 2012 at 7:01 am
You can create a UNIQUE INDEX on a view.
I don't understand how sequences relate to this topic, though. Can you clarify please?
August 8, 2012 at 6:55 am
You can achieve the same thing with subqueries. If you're after better performance, I'm not sure that rewriting the query this way will improve things.
Also, consider that the semantics changed...
August 8, 2012 at 4:58 am
Shot in the dark...
Could be a stale statistics issue. If the query runs fine for a couple of days and then start misbehaving, you statistics might be outdated due to...
August 8, 2012 at 4:38 am
A bit vague, can you clarify please?
Do you have an example?
August 8, 2012 at 4:31 am
Let me suggest a couple of minor changes:
CREATE/ALTER PROCEDURE < PROCEDURE_NAME >
AS
BEGIN
DECLARE @sessid SMALLINT
DECLARE @idle_time_out INT;
DECLARE @sql varchar(20);
...
August 8, 2012 at 3:33 am
Viewing 15 posts - 1,486 through 1,500 (of 5,394 total)