Viewing 15 posts - 1,246 through 1,260 (of 1,655 total)
Richard,
first of all Taskmanager is not very reliable when showing SQL Server memory. Use Performance Monitor instead.
Second SQL Server wil not reserve RAM at startup unless you defined a minimum...
August 1, 2007 at 5:25 am
Oops,
sorry Lowell my comment was about Jeff's script. I must admit I was in a hurry yesterday...
July 31, 2007 at 8:14 am
Hi Jeff,
what I was hoping to find was a script which gives the the max actual value for the whole row. The idea was to find rows which could cause...
July 31, 2007 at 4:09 am
Mj,
since you write that the server uses the wrong plans, my first hinch would be that the statistics have not been updated after the upgrade. All stats from SQL 2000...
July 30, 2007 at 4:58 am
Hello Lowell and Jeff,
thank you both for your efforts.
Even though it's still not exactly what I had in mind, I think I can work with your scripts.
Markus
July 30, 2007 at 12:55 am
Todd,
just out of interest. In my tests my query did not return NULL. Which test data where you using? You sure you run it on SQL 2005?
Markus
July 28, 2007 at 2:11 am
Lowell,
thanks for your response, but thats not what I'm looking for. I already have a script which calculates the defined rowlength. What I now try to find out is the...
July 27, 2007 at 11:05 am
Another case where you can use the logical filename is BACKUP/RESTORE of a databasefile.
Markus
July 27, 2007 at 4:48 am
As you already found out, the execution plan is exactly the same. The reason for this is that the Query Optimizer realises that both queries request the same data and...
July 27, 2007 at 2:46 am
Hi Chris,
generally I prefer to use UNC names when accessing network resources. I know that in SQL 2000 mapped drives often caused problems, not sure if 2005 reacts the same....
July 26, 2007 at 6:55 am
Try this:
SELECT t1.*
FROM table1 t1
JOIN (SELECT id
FROM table1
WHERE yn = 'Y'
INTERSECT
SELECT id
FROM table1
WHERE yn = 'N') t2
ON t1.id = t2.id
P.s. it...
July 26, 2007 at 6:36 am
There are basically two DMV's you can use.
sys.dm_exec_requests gives you real time information
SELECT
st.text, r.*
FROM
sys.dm_exec_requests r
CROSS APPLY
sys.dm_exec_sql_text(sql_handle) AS st
WHERE
r.session_id = 112
sys.dm_exec_query_stats gives you historical information about all...
July 18, 2007 at 12:55 am
You need to change the database state by using
ALTER DATABASE <database_name> SET PARTNER OFF
see also http://technet.microsoft.com/en-us/library/ms189112.aspx
Markus
July 17, 2007 at 1:57 am
Molly,
ALTER INDEX is a new statement in SQL 2005. Since you posted this in the 2000 group I assume that you're using SQL 2000 and that explains the error. Anyway...
July 16, 2007 at 8:14 am
I don't think there's a stored procedurereadily available is SQL Server but you can try this script http://www.sqlservercentral.com/scripts/viewscript.asp?scriptid=520
Another option I use a lot is the SQLDumpSec utility. It's simple...
July 16, 2007 at 1:40 am
Viewing 15 posts - 1,246 through 1,260 (of 1,655 total)