Viewing 15 posts - 661 through 675 (of 2,897 total)
Here is a script for generating INSERT statements for 1 table. You could modify it for all tables or a subset. I use it when generating a subset of...
September 9, 2013 at 6:06 am
If it is inserting, and you want it to stop, I don't think you can avoid a rollback.
If you're lucky , it hasn't been doing inserts the entire 22 hours,...
September 9, 2013 at 5:07 am
Or you can use Windows utility "Forfiles". I think the syntax varies depending on the version of windows.
September 4, 2013 at 5:09 am
How is the archived data used ?
August 29, 2013 at 7:24 pm
You can find scripts that will show you the blocking processes. Then identify the primary blocking process. From that point you need to identify what the process is doing, what...
August 18, 2013 at 7:27 am
I would also go ahead and use the 2 tables, but make them both temp tables. ie, #ErrorLog & #ErrorLog2
August 18, 2013 at 7:03 am
You need to double quote everything because your query is inside a set of quotes. Example:
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'AdventureWorks2008R2 Administrator',
@recipients = 'danw@Adventure-Works.com',
...
August 17, 2013 at 11:57 am
What is your select statement ?
What is the insert statement that you have tried, and what is the error ?
August 17, 2013 at 9:17 am
You can put your query in sp_send_dbmail.
I do something similar looking for failed job steps. I run the query, and if the count is > 0, I run sp_send_dbmail with...
August 17, 2013 at 7:18 am
Here are some ideas.
I also remember a free tool that migrated them all with only a couple of clicks.
Maybe it was the DTS BAckup tool mentioned here:
August 15, 2013 at 12:15 pm
Do you need DETAILED information ? Maybe LIMITED would be good enough ?
From MSDN:
The DETAILED mode scans all pages and returns all statistics.
The modes are progressively slower from...
August 14, 2013 at 12:25 pm
Somebody read on the internet that it's good to rebuild indexes, so they created a job to do it ...
It could easily be negatively impacting other processes.
August 14, 2013 at 12:17 pm
Declare @RecCount int
set @RecCount = (Select count(* ) from table
where conditions x,y,z)
if @RecCount > 0 begin
EXEC msdb.dbo.sp_send_dbmail
end
August 14, 2013 at 12:10 pm
OnlyOneRJ (8/14/2013)
homebrew01 (8/14/2013)
I run a server side trace 24/7 on my...
August 14, 2013 at 11:49 am
What Data Type does the wizard think that the column is ? I think it should be string (DT_STR) if you are expecting non-numeric data.
August 14, 2013 at 8:28 am
Viewing 15 posts - 661 through 675 (of 2,897 total)