Viewing 15 posts - 1 through 15 (of 36 total)
This will give you the name of the login or schedule who invoked the job. I hope this will help
DECLARE @Schedule_Name_ID nVARCHAR(1000)
DECLARE @Job_ID nVARCHAR(100)
DECLARE @StateINT
DECLARE @Job_Name nVARCHAR(1000)
SET@Job_Name = 'Your...
October 28, 2013 at 2:44 am
Got the solution which might work for you as well.
In my case there were few job categories (specified in the jobs ) but missing in msdb..syscategories tables.
Either you can...
July 10, 2013 at 6:26 am
use "forfiles" with xp_cmdshell and it will serve your purpose
forfiles [/p <Path>] [/m <SearchMask>] [/s] [/c "<Command>"] [/d [{+|-}][{<Date>|<Days>}]]
http://technet.microsoft.com/en-us/library/cc753551(v=ws.10)
July 2, 2012 at 11:48 pm
Hi
First of all file shrinking is something else and database shrinking is something else.
Kindly let me know if you have the db as production or just testing.
and the space...
August 13, 2009 at 1:09 pm
what is your Isolation level ?
try reading Snapshot isolation level and try it.
it will might help you out.
August 8, 2009 at 10:54 am
try getting only Pk in selection
like
SELECT ID
FROM TABLES and JOINS and WHERE Clause
put the result set in a Temp table and then select the orignal data like
SELECT...
August 8, 2009 at 10:40 am
did u change the max worker to 0 ?
kindly let me know the details about the behaviour of the db server when its performing slow ? i mean the counters...
August 7, 2009 at 4:36 am
kindly state more details about what is ur current avg response time and what do u mean by badly affected ? is it performing poorly or it has stopped responding...
August 5, 2009 at 10:14 pm
it would be much better if you could just upload the actual execution plan so i can have a look at it and then i can give you an advice...
August 5, 2009 at 12:09 pm
I suggest you to use this solution as its much better when comparing text values if you need an exact math
1. Add an (e.g. CSV_Inv) INTEGER COLUMN to the table...
August 4, 2009 at 5:45 am
Dear Fritchey thankyou very much for your time,
I have tried the left joins and its not that much beneficial as main issue is of timestamp you can and about...
June 8, 2009 at 10:10 pm
Thankyou very much its really nice to hear from you.
June 5, 2009 at 1:45 am
First Execute this
Use [YourDBName]
GO
EXEC sp_updatestats
It will update the Stats for all the tables
Then try to rebuild or at least defrag the tables which are used mostly
then you...
June 5, 2009 at 1:01 am
dear Thankyou very much for your valuable suggestion but it will be a worst case when i will do it as it requires a column to be added and data...
June 5, 2009 at 12:52 am
I have defragged all the indexes and maintenance is done regularly and no index has a scan density less than 90% so what else is missing ? what would be...
June 4, 2009 at 11:29 pm
Viewing 15 posts - 1 through 15 (of 36 total)