Viewing 15 posts - 1,621 through 1,635 (of 2,051 total)
*One way could be with setting permission based on an application role
in query analyzer they will need
to execute sp_setapprole on the connection
*you have the
APP_NAME ( ) function that...
February 10, 2006 at 11:12 am
Are there any char/varchar columns in the table?
If you generate the create table scripts for both tables, it is an exact match (except for the indexes)?
February 10, 2006 at 10:59 am
The cost% is to be taken with a grain of salt.
Table scan, index scan... generally give a better indication.Usually the query with the fewest reads will be faster.
What was the...
February 9, 2006 at 10:26 am
Welcome.
Have a look at
http://www.sql-server-performance.com/query_execution_plan_analysis.asp
Performance is mostly based on the amount of reads (I/O) and then cpu/duration.
If possible avoid the use of cursors(very important),record by record based solutions and use...
February 9, 2006 at 10:21 am
I don't know (perhaps detaching/attaching the database)
February 9, 2006 at 10:09 am
I've also this message when a part of the database (like an index) became corrupt.
February 9, 2006 at 4:39 am
in sql 2000 you can find the job histories & outcomes
in msdb.dbo.sysjobhistory
February 9, 2006 at 4:36 am
the count(*) might cause a table scan
the exist clause stops when it finds one
February 9, 2006 at 4:33 am
Best bet is contacting the administrator of server A (could be a security setting)
February 9, 2006 at 4:31 am
Can you give a small example with pseudo values?
DELETE ProxyPM
FROM ProxyPM
INNER JOIN PM
ON PM.PMEmp=ProxyPM.PMEmp /*same project manager*/
AND PM.Projectcode=ProxyPM.Projectcode /*same project*/
February 8, 2006 at 11:08 am
As long the database doesn't change in size (have to check this theory) or is not closed the modified attribute isn't been set (otherwise each write command would cause the...
February 8, 2006 at 10:51 am
Does changing the flow help? There is no need to keep objSQLServer open whilst writing your log.
Call writeerrortolog("Cannot connect to " & rstSQLInstances("ServerName") , Err.Number)
objSQLServer.Disconnect
set objSQLServer =...
February 8, 2006 at 10:44 am
sp_recompile can be necessary when the first run of the stored procedure is with atypical values which may be bad for subsequent runs.
sp_recompiles only targets one object. All objects that...
February 8, 2006 at 10:38 am
Viewing 15 posts - 1,621 through 1,635 (of 2,051 total)